Posts Tagged ‘wkhtmltopdf php’


FPDF Alternative for PHP for Generating PDFs

October 10th, 2018 / by api2pdf /

Intro FPDF is an open source library to generate PDFs in PHP. There are some key advantages to this. No external dependencies — can generate basic PDFs straight from PHP code. Free This might be okay for some, but there are issues with FPDF. With a pure PHP implementation, you run into serious problems. You […]

Read More

Adding a Watermark with WKHTMLTOPDF

September 5th, 2018 / by api2pdf /

Introduction If you are on this article, you already know what a watermark is, but just to be sure, it is a way of adding an image to a document to show where it was generated from or to avoid tampering for some reason.  A common use of watermarking is to add the word DRAFT […]

Read More

PHP code for converting html to PDFs using Api2Pdf now released

July 18th, 2018 / by api2pdf / No Comments

We released the full code and documentation on Github: https://github.com/Api2Pdf/api2pdf.php. As Api2Pdf gains in popularity due to its low-cost and simple to use API for converting HTML to PDFs, we have started to get requests for libraries and packages in other languages. The most heavily requested is PHP. Therefore, we wrote the PHP code for […]

Read More