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.
The package exists in the packagist repository as feryardiant/fpdf
.
$ composer require feryardiant/fpdf --prefer-dist
phpunit -c tests/phpunit.xml
Original Author: Olivier PLATHEY
FPDF Version: 1.7