Guides › mPDF

mPDF guides

mPDF is a free, open-source PHP library that turns HTML and CSS into PDF documents. It is widely used for invoices, reports, tickets and certificates, and many PHP frameworks and CMSs ship plugins for it. These guides explain how it works today, in version 8, with examples you can copy.

PDF1 is an independent site. mPDF itself is developed on GitHub, and its reference documentation is at mpdf.github.io. Why this domain has mPDF guides.

Getting started

Layout and content

Recipes

Running it well

Also useful