github mpdf/mpdf v8.0.0
Version 8.0.0 released

latest releases: v8.2.3, v8.2.2, v8.2.1...
5 years ago

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!

Don't miss a new mpdf release

NewReleases is sending notifications on new releases.