Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dompdf/php-svg-lib
SVG file parsing / rendering library
https://github.com/dompdf/php-svg-lib
parser parsing pdf php svg
Last synced: 2 days ago
JSON representation
SVG file parsing / rendering library
- Host: GitHub
- URL: https://github.com/dompdf/php-svg-lib
- Owner: dompdf
- License: lgpl-3.0
- Created: 2014-04-13T16:51:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-29T13:41:52.000Z (8 months ago)
- Last Synced: 2024-10-29T11:31:52.484Z (about 1 month ago)
- Topics: parser, parsing, pdf, php, svg
- Language: PHP
- Size: 2.73 MB
- Stars: 1,407
- Watchers: 9
- Forks: 77
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
- Authors: AUTHORS.md
Awesome Lists containing this project
- awesome-php-cn - PhenX/php-svg-lib - SVG文件解析/渲染库. (目录 / 图像 Imagery)
README
# SVG file parsing / rendering library
[![Build Status](https://github.com/dompdf/php-svg-lib/actions/workflows/test.yml/badge.svg)](https://github.com/dompdf/php-svg-lib/actions/workflows/test.yml)
[![Latest Stable Version](https://poser.pugx.org/phenx/php-svg-lib/v/stable)](https://packagist.org/packages/phenx/php-svg-lib)
[![Total Downloads](https://poser.pugx.org/phenx/php-svg-lib/downloads)](https://packagist.org/packages/phenx/php-svg-lib)
[![Latest Unstable Version](https://poser.pugx.org/phenx/php-svg-lib/v/unstable)](https://packagist.org/packages/phenx/php-svg-lib)
[![License](https://poser.pugx.org/phenx/php-svg-lib/license)](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.