Convert Word to PDF using PDFfiller PHP Client

PDFfiller allows you to convert a Word document to PDF. This useful feature helps you combine text and images in one file without ruining your content. With a single click, your Word doc will be transformed to PDF with all its data preserved.

$uploader = new Uploader($provider, Document::class);
$uploader->type = Uploader::TYPE_MULTIPART;
$uploader->file = __DIR__ . '/test.doc';
$logo = $uploader->upload();

$contents = Document::download($provider, 54656456);