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