feryardiant / fpdf
Unofficial FPDF library with PSR-0 compliant, clean and readable code.
Fund package maintenance!
feryardiant
Patreon
Installs: 1 750
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/feryardiant/fpdf
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
Suggests
- ext-gd: For Image Parser support
- ext-zlib: For Compression support
This package is auto-updated.
Last update: 2025-10-23 12:11:00 UTC
README
Unofficial FPDF library with PSR-4 compliant, clean and readable code
This is version 1.7.2 with some changes:
- The library is namespaced in
Fpdf - directory structure follow the PSR-4 standard with
src/Fpdfas root - Class constructor is renamed
__constructinstead ofFPDF -
FPDF_VERSIONis nowFpdf\Fpdf::VERSION - on error a
Fpdf\Exceptionis thrown instead on lib dramaticallydie()ing - Refactor all method in
camelCase(It's breaks backward compatibility). - Rebuild documentations and tutorials.
- Complete testunit.
Installing with composer
The package exists in the packagist repository as feryardiant/fpdf.
$ composer require feryardiant/fpdf --prefer-dist
Testing
phpunit -c tests/phpunit.xml
Credits
Original Author: Olivier PLATHEY
FPDF Version: 1.7