Convert pdf to png using PDFfiller PHP Client

Using PDFfiller's PDF to PNG converter, you will save time transforming your PDF documents to PNG images. It is a very helpful platform that is absolutely free and converts your files 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' => 'png']);