Download as a Word Document using PDFfiller PHP Client
After editing a PDF, you can easily save and download it as a Word Document. With a single click, you can transform your PDF to Word and download it to your computer. You'll always be able to access and edit your document according to your needs.
PDFfiller\OAuth2\Client\Provider\Document::download(); $uploader = new Uploader($provider, Document::class); $uploader->type = Uploader::TYPE_MULTIPART; $uploader->file = __DIR__ . '/test.pdf'; $logo = $uploader->upload(); $contents = Document::download($provider, 54656456, ['type' => 'doc']);