PHPackages                             trollandtoad/fpdf - 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. trollandtoad/fpdf

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

trollandtoad/fpdf
=================

I took the original FPDF library made by Oliver Plathey and refactored it to use PSR-4 autloading. This version corresponds with the fpdf 1.8.1.

1.0.5(4y ago)015MITHTMLPHP &gt;=5.3.2

Since Jul 23Pushed 4y ago3 watchersCompare

[ Source](https://github.com/trollandtoad/fpdf)[ Packagist](https://packagist.org/packages/trollandtoad/fpdf)[ RSS](/packages/trollandtoad-fpdf/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

FPDF - PSR-4
============

[](#fpdf---psr-4)

FPDF is a PHP class which allows to generate PDF files with pure PHP. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

Installation with [Composer](https://packagist.org/packages/trollandtoad/fpdf)
------------------------------------------------------------------------------

[](#installation-with-composer)

Using composer to install FPDF

```
    composer require trollandtoad/fpdf

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Every ~377 days

Total

5

Last Release

1709d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14cfe130b325cdf79d6db6d67108885e742a566ed391d2b598634f2cab6b60ee?d=identicon)[brandon14](/maintainers/brandon14)

![](https://www.gravatar.com/avatar/43aabb1dfce24a3442c817fdea733107ab1735f782373e58721581dd02e6e710?d=identicon)[trollandtoad](/maintainers/trollandtoad)

---

Top Contributors

[![brandon14](https://avatars.githubusercontent.com/u/1152696?v=4)](https://github.com/brandon14 "brandon14 (8 commits)")[![dqfan2012](https://avatars.githubusercontent.com/u/3586389?v=4)](https://github.com/dqfan2012 "dqfan2012 (8 commits)")

---

Tags

pdffpdf

### Embed Badge

![Health badge](/badges/trollandtoad-fpdf/health.svg)

```
[![Health](https://phpackages.com/badges/trollandtoad-fpdf/health.svg)](https://phpackages.com/packages/trollandtoad-fpdf)
```

###  Alternatives

[setasign/fpdi

FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.

1.2k142.4M231](/packages/setasign-fpdi)[setasign/fpdf

FPDF is a PHP class which allows to generate PDF files with pure PHP. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

77263.8M227](/packages/setasign-fpdf)[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)[tmw/fpdm

PDF form filling using FPDM Class written by FPDF author Olivier

129623.6k3](/packages/tmw-fpdm)[fpdf/fpdf

FPDF Composer Wrapper

512.7M22](/packages/fpdf-fpdf)[setasign/fpdi-protection

A FPDI compatible version of the FPDF\_Protection script.

324.3M2](/packages/setasign-fpdi-protection)

PHPackages © 2026

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