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

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

ascom/tfpdf-sector
==================

tfpdf-sector

v2.3.6(4y ago)0722LGPL-2.1-or-laterPHPPHP &gt;= 5.5

Since Feb 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ascomcommon/tfpdf-sector)[ Packagist](https://packagist.org/packages/ascom/tfpdf-sector)[ Docs](https://github.com/ascomcommon/tfpdf-sector)[ RSS](/packages/ascom-tfpdf-sector/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (1)Versions (33)Used By (0)

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

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

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.

Source attribution
------------------

[](#source-attribution)

The Code 128 and Code 39 barcode library code was taken directly from the FPDF website, where source attribution is vague at best, but mostly non-existent. If you need source attribution applying for your code included here, please raise an issue.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor3

3 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 ~112 days

Recently: every ~87 days

Total

31

Last Release

1823d ago

Major Versions

v1.4.1 → v2.0.02016-10-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ae3d3451ce63b3674dd8e39f886d3c9615a0ec08cb194d3d0c03c757187085c?d=identicon)[commonascom](/maintainers/commonascom)

---

Top Contributors

[![ascomcommon](https://avatars.githubusercontent.com/u/40868945?v=4)](https://github.com/ascomcommon "ascomcommon (12 commits)")[![rev42](https://avatars.githubusercontent.com/u/681069?v=4)](https://github.com/rev42 "rev42 (10 commits)")[![kazsaj](https://avatars.githubusercontent.com/u/5666877?v=4)](https://github.com/kazsaj "kazsaj (10 commits)")[![dblencowe](https://avatars.githubusercontent.com/u/88084?v=4)](https://github.com/dblencowe "dblencowe (7 commits)")[![bigxoma](https://avatars.githubusercontent.com/u/5319295?v=4)](https://github.com/bigxoma "bigxoma (4 commits)")[![ikarus512](https://avatars.githubusercontent.com/u/23378627?v=4)](https://github.com/ikarus512 "ikarus512 (3 commits)")[![sepjralm](https://avatars.githubusercontent.com/u/65602625?v=4)](https://github.com/sepjralm "sepjralm (3 commits)")[![cdburgess](https://avatars.githubusercontent.com/u/216284?v=4)](https://github.com/cdburgess "cdburgess (2 commits)")[![rserale](https://avatars.githubusercontent.com/u/8452531?v=4)](https://github.com/rserale "rserale (1 commits)")[![slokhorst](https://avatars.githubusercontent.com/u/8083666?v=4)](https://github.com/slokhorst "slokhorst (1 commits)")[![hultberg](https://avatars.githubusercontent.com/u/1257913?v=4)](https://github.com/hultberg "hultberg (1 commits)")

---

Tags

pdf

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M275](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M472](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M490](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M55](/packages/knplabs-knp-snappy)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M100](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)

PHPackages © 2026

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