PHPackages                             imal-h/pdf-box - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. imal-h/pdf-box

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

imal-h/pdf-box
==============

The most advanced, driver-based PDF manipulation library for PHP v3.0. Supports Ghostscript, Chrome Headless (HTML to PDF), OpenSSL/FPDI (Signing), and PDFtk (Forms).

v3.2.0(3mo ago)60403.9k—7.8%[7 PRs](https://github.com/imalhasaranga/PDFLib/pulls)MITPHP &gt;=8.1

Since Sep 5Compare

[ Source](https://github.com/imalhasaranga/PDFLib)[ Packagist](https://packagist.org/packages/imal-h/pdf-box)[ Docs](https://github.com/imalhasaranga/PDFLib.git)[ RSS](/packages/imal-h-pdf-box/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (7)Versions (26)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/imalhasaranga/PDFLib).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity45

Moderate usage in the ecosystem

Community2

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~156 days

Recently: every ~4 days

Total

23

Last Release

106d ago

Major Versions

1.5.0 → 2.0.02025-12-23

2.0.1 → v3.0.0-alpha2025-12-31

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

v3.0.0-alphaPHP &gt;=8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1076374?v=4)[Imal Hasaranga Perera](/maintainers/imalhasaranga)[@imalhasaranga](https://github.com/imalhasaranga)

---

Tags

phppdfmanipulationghostscriptpdftkdigital-signaturehtml-to-pdfdriver-basedform-fillingchrome-headless

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/imal-h-pdf-box/health.svg)

```
[![Health](https://phpackages.com/badges/imal-h-pdf-box/health.svg)](https://phpackages.com/packages/imal-h-pdf-box)
```

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[mostafaznv/pdf-optimizer

PDF optimization tool for PHP and Laravel applications

170125.8k](/packages/mostafaznv-pdf-optimizer)[pontedilana/php-weasyprint

PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.

761.1M7](/packages/pontedilana-php-weasyprint)[shuble/slurpy

php wrapper for pdftk commandline tool, and pdf form filler

1148.6k](/packages/shuble-slurpy)[jeidison/signer-php

Open-source PHP library for PDF digital signing with multiple signatures, RFC3161 timestamping, PAdES profiles, and PDF protection

132.1k](/packages/jeidison-signer-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
