Convert to Text using PDFfiller PHP Client

PDFfiller offers you a range of features that help to convert any document or image to a format you need. Transform your PDF to Word, PNG, JPG or PPT. You can combine any formats and convert them in just a few clicks.

$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' => 'txt']);