12 lines
990 B
Markdown
12 lines
990 B
Markdown
# SVG file parsing / rendering library
|
|
|
|
[](https://github.com/dompdf/php-svg-lib/actions/workflows/test.yml)
|
|
|
|
[](https://packagist.org/packages/phenx/php-svg-lib)
|
|
[](https://packagist.org/packages/phenx/php-svg-lib)
|
|
[](https://packagist.org/packages/phenx/php-svg-lib)
|
|
[](https://packagist.org/packages/phenx/php-svg-lib)
|
|
|
|
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](https://github.com/dompdf/dompdf) project.
|