

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.
Cost / License
- Free
- Proprietary
Platforms
- Self-Hosted
FPDF News & Activities
Recent activities
LarsNeujeffski added FPDF as alternative to web2pdf.eu
POX added FPDF as alternative to PlutoPrint
FPDF information
What is FPDF?
FPDF has other benefits: 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 enable compression and GD for GIF support). The latest version requires at least PHP 5.1 and is compatible with PHP 7 and PHP 8.
The tutorials will give you a quick start. The complete online documentation is here and download area is there. It is 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...).






