Download Latest Version Version 8.1.0 released.zip (46.6 MB)
Email in envelope

Get an email when there's a new version of mPDF

Home / v8.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2019-03-15 1.3 kB
Version 8.0.0 released.tar.gz 2019-03-15 46.5 MB
Version 8.0.0 released.zip 2019-03-15 46.6 MB
Totals: 3 Items   93.0 MB 5

Version 8.0.0 contains code cleanups, a few minor fixes and features, and most importantly bump of internal dependency of the FPDI library to version 2.

This introduces a few breaking changes.

Method SetImportUse has been removed and ImportPage changed case to importPage and has a new signature:

public function importPage($pageNumber, $box = PageBoundaries::CROP_BOX, $groupXObject = true)

Library generating QR codes has been split to a separate package mpdf/qrcode. This reduced package size by about 6 MB. The library will raise an exception hinting to install the package with composer when needed and not present.


Complete changeset can be found in changelog and commit history.

Upgrading from 7.x

  • If you use importing capabilities:
    • remove SetImportUse method calls
    • change ImportPage calls to the new signature
  • If you use QR codes
    • require mpdf/qrcode with composer and you're set

Support our work

Thank you for any work you put into mPDF - refactorings, bug fixes, new feature requests.

We also welcome any donation.

Yaaay! 5 200 000 downloads 🎉!

Hope number of downloads will keep rising!

Source: README.md, updated 2019-03-15