mpdf
mPdf Php library to get your html/css exported to PDF with ease

mPDF PHP Library To Convert HTML/CSS To PDF

The Problem While working on several client & internal projects we often landed up in a scenario where we need to implement functionality to export HTML/CSS as PDF or send the PDF as an email exporting simple HTML table to complex layout like invoices & reports. So we needed something simple & flexible to fit in these types of generic requirements. The Challenge Data can be dynamic & would be generated at client end which left us with less control at the server end. So technically whatever HTML will be generated on client end needs to be sent to the server…