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