phenx / php-svg-lib
A library to read, parse and export to PDF SVG files.
Installs: 112 022 319
Dependents: 39
Suggesters: 0
Security: 3
Stars: 1 415
Watchers: 9
Forks: 77
Open Issues: 17
Requires
- php: ^7.1 || ^8.0
- ext-mbstring: *
- sabberworm/php-css-parser: ^8.4
Requires (Dev)
- phpunit/phpunit: ^7.5 || ^8.5 || ^9.5
README
The main purpose of this lib is to rasterize SVG to a surface which can be an image or a PDF for example, through a \Svg\Surface
PHP interface.
This project was initialized by the need to render SVG documents inside PDF files for the DomPdf project.