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

ActiveYii2-extension[PDF &amp; Document Generation](/categories/documents)

inquid/yii2-fpdf
================

FPDF in Yii2

v1.3(2y ago)04.6k1[1 PRs](https://github.com/inquid/yii2-fpdf/pulls)MITPHP

Since Aug 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/inquid/yii2-fpdf)[ Packagist](https://packagist.org/packages/inquid/yii2-fpdf)[ Docs](https://github.com/inquid/yii2-fpdf)[ RSS](/packages/inquid-yii2-fpdf/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (7)Used By (0)

yii2-fpdf
=========

[](#yii2-fpdf)

Including FPDF 1.81 in Yii2

Yii2 FPDF
=========

[](#yii2-fpdf-1)

Yii2 Implementation of FPDF

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist inquid/yii2-fpdf "*"

```

or add

```
"inquid/yii2-fpdf": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

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

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

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

[](#documentation)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~646 days

Total

5

Last Release

964d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1505641?v=4)[Luis Gonzalez](/maintainers/gogl92)[@gogl92](https://github.com/gogl92)

---

Top Contributors

[![gogl92](https://avatars.githubusercontent.com/u/1505641?v=4)](https://github.com/gogl92 "gogl92 (8 commits)")[![Stern87](https://avatars.githubusercontent.com/u/13180074?v=4)](https://github.com/Stern87 "Stern87 (6 commits)")[![Heddy147](https://avatars.githubusercontent.com/u/5693767?v=4)](https://github.com/Heddy147 "Heddy147 (2 commits)")[![bigferumdron](https://avatars.githubusercontent.com/u/3116203?v=4)](https://github.com/bigferumdron "bigferumdron (1 commits)")[![markoheijnen](https://avatars.githubusercontent.com/u/262877?v=4)](https://github.com/markoheijnen "markoheijnen (1 commits)")

---

Tags

pdffpdfyii2extension

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-mpdf

A Yii2 wrapper component for the mPDF library which generates PDF files from UTF-8 encoded HTML.

1605.5M84](/packages/kartik-v-yii2-mpdf)[kartik-v/yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)

1623.1M35](/packages/kartik-v-yii2-export)[yii2assets/yii2-pdfjs

Yii2 Extension pdf.js Portable Document Format (PDF) viewer

23209.3k](/packages/yii2assets-yii2-pdfjs)[phpnt/yii2-export

Yii2 It saves data in xls, csv, word, html, pdf files.

158.9k](/packages/phpnt-yii2-export)

PHPackages © 2026

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