phenx/php-svg-lib

A library to read, parse and export to PDF SVG files.

Package info

github.com/dompdf/php-svg-lib

pkg:composer/phenx/php-svg-lib

Statistics

Installs: 146 575 102

Dependents: 41

Suggesters: 0

Stars: 1 445

Open Issues: 25

1.0.2 2026-01-02 16:01 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-3.0-or-later 8259ffb930817e72b1ff1caef5d226501f3dfeb1

This package is auto-updated.

Last update: 2026-05-30 16:49:55 UTC


README

👁 Build Status

👁 Latest Stable Version
👁 Total Downloads
👁 Latest Unstable Version
👁 License

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.