feryardiant / fpdf
Unofficial FPDF library with PSR-0 compliant, clean and readable code.
Fund package maintenance!
feryardiant
Patreon
Installs: 1 745
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 2
Open Issues: 0
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: 2024-10-23 10:03:30 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/Fpdf
as root - Class constructor is renamed
__construct
instead ofFPDF
-
FPDF_VERSION
is nowFpdf\Fpdf::VERSION
- on error a
Fpdf\Exception
is 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