PHPackages                             php-pdf/adapter - 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. php-pdf/adapter

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

php-pdf/adapter
===============

PDF Adapter contract

39PHP

Since Aug 14Pushed 10y ago2 watchersCompare

[ Source](https://github.com/php-pdf/adapter)[ Packagist](https://packagist.org/packages/php-pdf/adapter)[ RSS](/packages/php-pdf-adapter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PDF Adapter Contract
====================

[](#pdf-adapter-contract)

[![Latest Version](https://camo.githubusercontent.com/2ea507b8c2ebcc850d01d82dde7d32c547c7376e2e16c160beed5cf4cd39f56b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d7064662f616461707465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pdf/adapter/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/4f7cdc6d1e427c5fc6d18a6ae6a69ad4cef44a6b53534782dd6dc8ed443b5e56/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d7064662f616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-pdf/adapter)

**Work in progress**

This package aims to provide a common interface for PDF generation, based on plain HTML.

Todo:

- Create interface
- Create factory/wrapper for dompdf ()
- Create factory/wrapper for wkhtmltopdf
- Create factory/wrapper for ...

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dad47b02be23edb7094a151b4b1ce7e9cb56b75cd87cd3341d140e1e1e9cd0e4?d=identicon)[barryvdh](/maintainers/barryvdh)

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (8 commits)")

### Embed Badge

![Health badge](/badges/php-pdf-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/php-pdf-adapter/health.svg)](https://phpackages.com/packages/php-pdf-adapter)
```

###  Alternatives

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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