tecnickcom/tcpdf
TCPDF is a mature PHP library for generating PDF documents without external dependencies. Create pages, headers/footers, tables, images, barcodes, and multilingual/RTL text, with fine control over fonts, layout, and output (inline, download, file).
Legacy PDF engine for PHP. Deprecated and maintained for existing integrations.
If TCPDF helps your business, please consider supporting development via PayPal.
TCPDF is deprecated and in maintenance-only mode.
Active feature development has moved to tc-lib-pdf, the modern and modular successor.
For new projects, use tecnickcom/tc-lib-pdf. This repository remains available for legacy systems and critical compatibility fixes.
tecnickcom/tc-lib-pdf.tc-lib-pdf.Migration still requires planning and regression checks to preserve rendering parity for existing documents.
As a long-term possibility, TCPDF could be refactored to use tc-lib-pdf internally as a backend while preserving a practical level of backward compatibility for existing TCPDF integrations.
This is not part of a committed roadmap and there is no guarantee it will happen. It is documented here only as a potential direction that may be evaluated in the future.
TCPDF is a pure-PHP library for generating PDF documents and barcodes directly in application code.
It has been widely used across many PHP stacks and still provides a complete feature set for text rendering, page composition, graphics, signatures, forms, and standards-oriented output.
| Package | tecnickcom/tcpdf |
| Author | Nicola Asuni info@tecnick.com |
| License | GNU LGPL v3 (see LICENSE.TXT) |
| Website | http://www.tcpdf.org |
| Source | https://github.com/tecnickcom/TCPDF |
GD, GD2, GD2PART, GIF, JPEG, PNG, BMP, XBM, XPM)ext-curlOptional extensions for richer output in some workflows: gd, zlib, imagick.
This library may include third-party font files released under different licenses.
PHP metadata files under fonts are covered by the TCPDF license (GNU LGPL v3). They contain font metadata and can also be generated using TCPDF font utilities.
Original binary TTF files are renamed for compatibility and compressed with PHP gzcompress (the .z format).
| Prefix | Source | License |
|---|---|---|
free* |
GNU FreeFont | GNU GPL v3 |
pdfa* |
Derived from GNU FreeFont | GNU GPL v3 |
dejavu* |
DejaVu Fonts | Bitstream/DejaVu terms |
ae* |
Arabeyes.org | GNU GPL v2 |
For full details, see the bundled notices in the corresponding subdirectories under fonts.
TCPDF includes sRGB.icc from the Debian icc-profiles-free package.
Nicola Asuni info@tecnick.com
How can I help you explore Laravel packages today?