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

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

jeffersoncarvalho/fpdf
======================

FPDF for Yii2

1.9.0(7y ago)0122MITPHPPHP &gt;5.4

Since Apr 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jscarvalho76/fpdf)[ Packagist](https://packagist.org/packages/jeffersoncarvalho/fpdf)[ Docs](http://www.fpdf.org)[ RSS](/packages/jeffersoncarvalho-fpdf/feed)WikiDiscussions master Synced 2mo ago

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

FPDF for YII2
=============

[](#fpdf-for-yii2)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7a08214c05a53bb9d9059ee48cc8e92a5493ac3d2b241d6c4ad35614655d9427/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e63617276616c686f2f667064662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersoncarvalho/fpdf)[![Total Downloads](https://camo.githubusercontent.com/0d25ed6a78995de83d8fd40e1031137ca8d04c544babf0e270375ee2fa9f3423/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e63617276616c686f2f667064662e7376673f6c6162656c3d646f776e6c6f6164732532305061636b6167697374267374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersoncarvalho/fpdf)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![GitHub All Releases](https://camo.githubusercontent.com/01a820779e5f66fe5982ae1c04b88ecb6cf660835c4976fe6eff4a31df07ac78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6a7363617276616c686f37362f667064662f746f74616c2e7376673f6c6162656c3d646f776e6c6f616473253230476974267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/01a820779e5f66fe5982ae1c04b88ecb6cf660835c4976fe6eff4a31df07ac78/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6a7363617276616c686f37362f667064662f746f74616c2e7376673f6c6162656c3d646f776e6c6f616473253230476974267374796c653d666c61742d737175617265)[![Powered](https://camo.githubusercontent.com/9ba401853e1d2bc0de33439b15484fff68e94d997a37a558f62359a4afff0296/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d4a6566666572736f6e5f43617276616c686f2d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9ba401853e1d2bc0de33439b15484fff68e94d997a37a558f62359a4afff0296/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d4a6566666572736f6e5f43617276616c686f2d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

This repository is only made for cloning official FPDF releases which are available at:  THERE WILL BE NO DEVELOPMENT IN THIS REPOSITORY!

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

[](#installation-with-composer)

If you're using Composer to manage dependencies, you can use

```
$ composer require "jeffersoncarvalho/fpdf"
```

or you can include the following in your composer.json file:

```
{
    "require": {
        "jeffersoncarvalho/fpdf": "1.9.0"
    }
}
```

or you can include the following in your composer.json file:

```
{
    "require": {
        "jeffersoncarvalho/fpdf": "1.9.0"
    }
}
```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
$pdf = new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output('D');
```

Documentation
-------------

[](#documentation)

Please read documentation of [FPDF](http://fpdf.de/dokumentation/)

Licence
-------

[](#licence)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2597d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2007006?v=4)[Jefferson de Carvalho Silva](/maintainers/jeffersoncarvalho)[@jeffersoncarvalho](https://github.com/jeffersoncarvalho)

---

Top Contributors

[![jscarvalho76](https://avatars.githubusercontent.com/u/16222981?v=4)](https://github.com/jscarvalho76 "jscarvalho76 (17 commits)")

---

Tags

phppdffpdfyii2

### Embed Badge

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

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

###  Alternatives

[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[tmw/fpdm

PDF form filling using FPDM Class written by FPDF author Olivier

129623.6k3](/packages/tmw-fpdm)[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)[jeidison/jsignpdf-php

jsignpdf-php

236.6k](/packages/jeidison-jsignpdf-php)[ratiw/jsonpdf

JsonPDF is a wrapper class of FPDF for creating PDF using JSON data.

139.6k](/packages/ratiw-jsonpdf)

PHPackages © 2026

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