# Dompdf

PHP library that converts HTML and CSS to PDF documents.


Source: https://findsoftware.frbit.cloud/dompdf/
Last reviewed: 2026-10-19
Updated: 2026-10-25
Listed since: 2026-10-19

## Record

### Links

- home: https://dompdf.github.io/
- repository: https://github.com/dompdf/dompdf
- docs: https://github.com/dompdf/dompdf/blob/v3.1.6/README.md

### Identity

- status: active
- maintainer: dompdf project (GitHub organization dompdf)
- maintainerType: community
- parent: unknown
- firstRelease: unknown
- hqCountry: unknown

### Kind

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

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: per-request
- renderingModes: not applicable
- installMethod: composer require dompdf/dompdf

### License

- licenseModel: open-source
- license: LGPL-2.1

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-07-20

### Adoption

- githubStargazers: 11198
- packagistDownloads: 218979915
- npmWeeklyDownloads: not applicable
- contributors: 176
- pluginCount: unknown
- packagistMonthlyDownloads: 11395011
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 22012
- dependentPackages: 555

### Sources

- urls: https://dompdf.github.io/ (read 2026-10-19)
- urls: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- urls: https://github.com/dompdf/dompdf/blob/v3.1.6/README.md (read 2026-10-19)
- maintainer: https://dompdf.github.io/ (read 2026-10-19)
- maintainerType: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- category: https://dompdf.github.io/ (read 2026-10-19)
- language: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- runtime: https://dompdf.github.io/ (read 2026-10-19)
- runtimeMin: https://repo.packagist.org/p2/dompdf/dompdf.json (read 2026-10-19)
- installMethod: https://github.com/dompdf/dompdf/blob/v3.1.6/README.md (read 2026-10-19)
- runsAs: https://github.com/dompdf/dompdf/blob/v3.1.6/README.md (read 2026-10-19)
- license: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- licenseModel: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- currentMajor: https://repo.packagist.org/p2/dompdf/dompdf.json (read 2026-10-19)
- latestReleaseDate: https://api.github.com/repos/dompdf/dompdf/releases/latest (read 2026-10-19)
- githubStargazers: https://api.github.com/repos/dompdf/dompdf (read 2026-10-19)
- contributors: https://api.github.com/repos/dompdf/dompdf/contributors (read 2026-10-19)
- packagistDownloads: https://packagist.org/packages/dompdf/dompdf.json (read 2026-10-19)
- packagistDownloads: https://packagist.org/packages/dompdf/dompdf.json (read 2026-10-19)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/dompdf%2Fdompdf (read 2026-10-25)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/dompdf%2Fdompdf (read 2026-10-25)
- packagistMonthlyDownloads: https://packagist.org/packages/dompdf/dompdf/stats.json (read 2026-10-25)

## Notes

Dompdf converts HTML and CSS into PDF inside a PHP application. The application installs it with Composer, as the [README](https://github.com/dompdf/dompdf/blob/v3.1.6/README.md) shows, and loads it as a dependency, so no separate server or process runs. The bundled R&OS CPDF class renders PDFs without an external PDF library; PDFLib is an optional backend that needs a PECL extension.

## Worth knowing

The homepage lists the PHP extensions DOM and MBString as requirements. It says Dompdf does not tolerate poorly formed HTML well, suggests the built-in HTML5 parser or a validator, and states that a table row must fit on one page.

---

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
