# mPDF

PHP library that generates PDF files from UTF-8 encoded HTML.


Source: https://findsoftware.frbit.cloud/mpdf/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://mpdf.github.io
- repository: https://github.com/mpdf/mpdf
- docs: https://mpdf.github.io/
- forum: https://github.com/mpdf/mpdf/discussions

### Identity

- status: active
- maintainer: Ian Back
- maintainerType: unknown
- parent: unknown
- firstRelease: 2008
- hqCountry: unknown

### Kind

- category: media
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 5.6
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: RTL and CJK languages

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: composer require mpdf/mpdf

### License

- licenseModel: open-source
- license: GPL-2.0-only, GPL-2.0-or-later

### Releases

- currentMajor: 8
- latestReleaseDate: 2026-03-11

### Adoption

- githubStargazers: 4709
- packagistDownloads: 97898939
- npmWeeklyDownloads: not applicable
- contributors: 92
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 6279
- dependentPackages: 455

### Sources

- urls: https://mpdf.github.io/ (read 2026-11-16)
- urls: https://api.github.com/repos/mpdf/mpdf (read 2026-11-16)
- urls: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- maintainer: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- firstRelease: https://mpdf.github.io/about-mpdf/changelog.html (read 2026-11-16)
- language: https://api.github.com/repos/mpdf/mpdf (read 2026-11-16)
- category: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- runtime: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- runtimeMin: https://github.com/mpdf/mpdf/blob/v8.3.1/composer.json (read 2026-11-16)
- installMethod: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- license: https://github.com/mpdf/mpdf/blob/v8.3.1/composer.json (read 2026-11-16)
- license: https://mpdf.github.io/about-mpdf/license.html (read 2026-11-16)
- i18n: https://mpdf.github.io/about-mpdf/features.html (read 2026-11-16)
- licenseModel: https://github.com/mpdf/mpdf/blob/development/README.md (read 2026-11-16)
- currentMajor: https://repo.packagist.org/p2/mpdf/mpdf.json (read 2026-11-16)
- latestReleaseDate: https://repo.packagist.org/p2/mpdf/mpdf.json (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/mpdf/mpdf (read 2026-11-16)
- contributors: https://api.github.com/repos/mpdf/mpdf/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/mpdf/mpdf.json (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/mpdf/mpdf.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/mpdf%2Fmpdf (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/mpdf%2Fmpdf (read 2026-11-16)

## Notes

mPDF is a PHP library that generates PDF files from UTF-8 encoded HTML. It runs inside PHP and needs the mbstring and gd extensions loaded. The project says it is based on FPDF and HTML2FPDF, and its manual lists support for right-to-left and CJK languages. Ian Back wrote it.

## Worth knowing

The README calls the software quite dated and points to headless Chrome for state of the art CSS support. Its default branch can differ from the last stable release. A few features need extra PHP extensions, including zlib, bcmath and xml.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
