PHPackages                             awery/tfpdf - 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. awery/tfpdf

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

awery/tfpdf
===========

Unofficial PSR-0 compliant version of the FPDF library, php7 refactored

0252

Since Apr 10Compare

[ Source](https://github.com/Vitalyua/awery_pdf)[ Packagist](https://packagist.org/packages/awery/tfpdf)[ RSS](/packages/awery-tfpdf/feed)WikiDiscussions Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Unofficial repository for the tFPDF library
===========================================

[](#unofficial-repository-for-the-tfpdf-library)

Refactored for php7
===================

[](#refactored-for-php7)

This is an unofficial repository for the [tFPDF-library](http://fpdf.org/fr/script/script92.php). The purpose is to be able to build automatic packages using [composer](http://packagist.org).

What is tFPDF?
--------------

[](#what-is-tfpdf)

tFPDF is a version of FPDF, which supports UTF-8 and font-subsetting.

What is FPDF?
-------------

[](#what-is-fpdf)

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

FPDF has other advantages: high level functions. Here is a list of its main features:

- Choice of measure unit, page format and margins
- Page header and footer management
- Automatic page break
- Automatic line break and text justification
- Image support (JPEG, PNG and GIF)
- Colors
- Links
- TrueType, Type1 and encoding support
- Page compression

FPDF requires no extension (except zlib to activate compression and GD for GIF support). It works with PHP 4 and PHP 5 (the latest version requires at least PHP 4.3.10).

The tutorials will give you a quick start. The complete online documentation is here and download area is there. It is strongly advised to read the FAQ which lists the most common questions and issues.

A script section is available and provides some useful extensions (such as bookmarks, rotations, tables, barcodes...).

What languages can I use?
-------------------------

[](#what-languages-can-i-use)

The class can produce documents in many languages other than the Western European ones: Central European, Cyrillic, Greek, Baltic and Thai, provided you own TrueType or Type1 fonts with the desired character set. Chinese, Japanese and Korean are supported too. UTF-8 support is also available.

What about performance?
-----------------------

[](#what-about-performance)

Of course, the generation speed of the document is less than with PDFlib. However, the performance penalty keeps very reasonable and suits in most cases, unless your documents are particularly complex or heavy.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.5% 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/56fb06de4f43fd60c6ecbae5f72e75623854cbb2178c73cfc420d940a46d20c5?d=identicon)[awery](/maintainers/awery)

---

Top Contributors

[![MamayNotan](https://avatars.githubusercontent.com/u/5575328?v=4)](https://github.com/MamayNotan "MamayNotan (37 commits)")[![auswork](https://avatars.githubusercontent.com/u/13132008?v=4)](https://github.com/auswork "auswork (11 commits)")[![MamayAwery](https://avatars.githubusercontent.com/u/168171456?v=4)](https://github.com/MamayAwery "MamayAwery (6 commits)")

### Embed Badge

![Health badge](/badges/awery-tfpdf/health.svg)

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

###  Alternatives

[rodenastyle/stream-parser

PHP Multiformat Streaming Parser

442206.4k2](/packages/rodenastyle-stream-parser)[cybermonde/odtphp

ODT document generator

49123.4k1](/packages/cybermonde-odtphp)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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