PHPackages                             adibenc/fpdfb - 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. adibenc/fpdfb

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

adibenc/fpdfb
=============

FPDF Composer Wrapper

1.87(1y ago)06MITPHPPHP &gt;=5.6.0

Since Dec 30Pushed 1y agoCompare

[ Source](https://github.com/adibenc/Fpdfb)[ Packagist](https://packagist.org/packages/adibenc/fpdfb)[ Docs](https://github.com/coreydoughty/Fpdf)[ RSS](/packages/adibenc-fpdfb/feed)WikiDiscussions master Synced 1mo ago

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

FPDF Wrapper Class
==================

[](#fpdf-wrapper-class)

A composer wrapper around the great php FPDF class. All credit to them.

[FPDF Website](http://www.fpdf.org/)

Currently uses FPDF 1.86.

Installation
------------

[](#installation)

Add to your "**composer.json**" file under the "**require**" section:

```
"fpdf/fpdf": "^1.86"

```

Update composer

```
php composer.phar update
```

Usage
-----

[](#usage)

In your php file that you want to use the class add a use statement.

```
use Fpdf\Fpdf;
```

Then use as per the FPDF documentation.

```
$pdf = new Fpdf();
```

Alternatively you can extend as a typical php class.

```
class CustomPdf extends Fpdf
{
    public function __construct(
        $orientation = 'P',
        $unit = 'mm',
        $size = 'letter'
    ) {
        parent::__construct( $orientation, $unit, $size );
        // ...
    }
}
```

### License FPDF

[](#license-fpdf)

```
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software to use, copy, modify, distribute, sublicense, and/or sell
copies of the software, and to permit persons to whom the software is furnished
to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance40

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

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

Unknown

Total

1

Last Release

505d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/506974154bdaf581d7ff74782ab4af80e5241f0669934cf5c712694a7f7eb749?d=identicon)[adibenc](/maintainers/adibenc)

---

Top Contributors

[![coreydoughty](https://avatars.githubusercontent.com/u/1572454?v=4)](https://github.com/coreydoughty "coreydoughty (42 commits)")[![adibenc](https://avatars.githubusercontent.com/u/24596057?v=4)](https://github.com/adibenc "adibenc (6 commits)")[![erikn69](https://avatars.githubusercontent.com/u/4933954?v=4)](https://github.com/erikn69 "erikn69 (6 commits)")[![PaolaRuby](https://avatars.githubusercontent.com/u/79208489?v=4)](https://github.com/PaolaRuby "PaolaRuby (3 commits)")[![asafov](https://avatars.githubusercontent.com/u/6398912?v=4)](https://github.com/asafov "asafov (3 commits)")[![angeljqv](https://avatars.githubusercontent.com/u/79208641?v=4)](https://github.com/angeljqv "angeljqv (1 commits)")[![fredsal](https://avatars.githubusercontent.com/u/79155632?v=4)](https://github.com/fredsal "fredsal (1 commits)")[![kohlerdominik](https://avatars.githubusercontent.com/u/18621527?v=4)](https://github.com/kohlerdominik "kohlerdominik (1 commits)")

---

Tags

pdfwrapperfpdf

### Embed Badge

![Health badge](/badges/adibenc-fpdfb/health.svg)

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

###  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.

76863.8M227](/packages/setasign-fpdf)[fpdf/fpdf

FPDF Composer Wrapper

512.7M22](/packages/fpdf-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)[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)
