https://github.com/feryardiant/fpdf
Unofficial FPDF library with clean and readable code
https://github.com/feryardiant/fpdf
Last synced: about 1 month ago
JSON representation
Unofficial FPDF library with clean and readable code
- Host: GitHub
- URL: https://github.com/feryardiant/fpdf
- Owner: feryardiant
- License: other
- Created: 2014-12-01T15:39:21.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-08T21:45:52.000Z (over 9 years ago)
- Last Synced: 2025-03-26T06:22:17.220Z (about 2 months ago)
- Language: PHP
- Size: 2.62 MB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# FPDF
[](https://packagist.org/packages/feryardiant/fpdf)
[](https://packagist.org/packages/feryardiant/fpdf)
[](https://travis-ci.org/feryardiant/fpdf)
[](https://www.gratipay.com/feryardiant/ "Buy me coffee via Gittip")
[](http://j.mp/1Qp9MUT "Buy me coffee via PayPal")Unofficial FPDF library with PSR-4 compliant, clean and readable code
This is version 1.7.2 with some changes:
* [x] The library is namespaced in `Fpdf`
* [x] directory structure follow the PSR-4 standard with `src/Fpdf` as root
* [x] Class constructor is renamed `__construct` instead of `FPDF`
* [x] `FPDF_VERSION` is now `Fpdf\Fpdf::VERSION`
* [x] on error a `Fpdf\Exception` is thrown instead on lib dramatically `die()`ing
* [x] 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`.
```bash
$ composer require feryardiant/fpdf --prefer-dist
```## Testing
```bash
phpunit -c tests/phpunit.xml
```## Credits
**Original Author:** Olivier PLATHEY
**FPDF Version:** 1.7