phpfriends / simple-pdf
Generate PDF directly from PHP (in native PHP)
1.0.1
2016-10-23 17:37 UTC
Requires
- php: >=5.6
Requires (Dev)
- phpmd/phpmd: @stable
- phpunit/phpunit: 5.1.*
This package is not auto-updated.
Last update: 2025-02-15 22:24:04 UTC
README
Generate PDF directly from PHP (in native PHP)
Run the sample code
php src/Example/Example1.php
Should create a double page PDF document in the same Example folder that has to be visible with any PDF viewer.
Compatibility notes
FontDescriptor
- Beginning with PDF 1.5, the special treatment given to the standard 14 fonts is deprecated. All fonts used in a PDF document should be represented us- ing a complete font descriptor. For backwards capability, viewer applications must still provide the special treatment identified for the standard 14 fonts.