dompdf / php-svg-lib
A library to read, parse and export to PDF SVG files.
1.0.2
2026-01-02 16:01 UTC
Requires
- php: ^7.1 || ^8.0
- ext-mbstring: *
- sabberworm/php-css-parser: ^8.4 || ^9.0
Requires (Dev)
- phpunit/phpunit: ^7.5 || ^8 || ^9 || ^10 || ^11
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.