FindSoftware

Dompdf

PHP library that converts HTML and CSS to PDF documents.

Dompdf converts HTML and CSS into PDF inside a PHP application. The application installs it with Composer, as the README 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.

Identity

Status
Active
Maintainer
dompdf project (GitHub organization dompdf)1
Maintained by
Community2

Rendering and deploy

Runs as
Per request3
Install with
composer require dompdf/dompdf3

Releases

Current major version
34
Last release
2026-07-205

Adoption

GitHub stars
11,1982
Packagist downloads
218,979,9157
Contributors
1766
Packagist downloads a month
11,395,0119
Dependent repositories
22,0128
Dependent packages
5558

Why these figures do not compare

Sources

  1. 2026-10-19: links, Maintainer, Categories, Runtime
    dompdf.github.io/
  2. 2026-10-19: links, Maintained by, Written in, License, License model, GitHub stars
    api.github.com/repos/dompdf/dompdf
  3. 2026-10-19: links, Install with, Runs as
    github.com/dompdf/dompdf/blob/v3.1.6/README.md
  4. 2026-10-19: Minimum runtime, Current major version
    repo.packagist.org/p2/dompdf/dompdf.json
  5. 2026-10-19: Last release
    api.github.com/repos/dompdf/dompdf/releases/latest
  6. 2026-10-19: Contributors
    api.github.com/repos/dompdf/dompdf/contributors
  7. 2026-10-19: Packagist downloads
    packagist.org/packages/dompdf/dompdf.json
  8. 2026-10-25: Dependent repositories, Dependent packages
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/dompdf%2Fdompdf
  9. 2026-10-25: Packagist downloads a month
    packagist.org/packages/dompdf/dompdf/stats.json

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON