phpfriends / simple-pdf
Generate PDF directly from PHP (in native PHP)
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
pkg:composer/phpfriends/simple-pdf
Requires
- php: >=5.6
Requires (Dev)
- phpmd/phpmd: @stable
- phpunit/phpunit: 5.1.*
This package is not auto-updated.
Last update: 2025-09-28 01:44:06 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.