phenx / php-svg-lib
A library to read, parse and export to PDF SVG files.
Installs: 100 518 880
Dependents: 40
Suggesters: 0
Security: 3
Stars: 1 391
Watchers: 9
Forks: 78
Open Issues: 14
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
SVG file parsing / rendering library
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.