Skip to content
dragonofmercy

php-pdf

A modern PHP 8.4 library for PDF generation.

Language: PHPVersion: v1.12.4License: MITstars: 52

Features

php-pdf

  1. Pure PHP, with no runtime dependencies beyond mbstring, openssl and zlib
  2. Text, custom fonts, cells, tables, images, SVG, barcodes, QR codes and Markdown
  3. Interactive forms and digital signatures
  4. PDF/A archival and tagged PDF/UA-1 output
  5. Reads, modifies and fills existing PDFs, including encrypted ones

About

php-pdf

phppdf is a PHP 8.4 library for generating PDF documents. It is pure PHP and needs only the standard mbstring, openssl and zlib extensions, so there is no external binary to install.

It covers creating documents from scratch: pages in 19 standard sizes or custom ones, graphics, text, tables, images, vector SVG, barcodes and Markdown. It also handles right-to-left text, AES-256 password protection and PKCS#7 digital signatures.

Beyond creation, it can read existing PDFs, import a page as a template for letterheads or watermarks, edit metadata and pages, and fill AcroForm fields. Version 1.0 is stable and follows semantic versioning. Usage guides live in the project wiki on GitHub.

Read the README

Latest release

php-pdf

v1.12.4

Released on

No downloadable files in this release.

All releases