/SVG-PHP-DOM-Extender

A lib that extends the native PHP DOM library to handle more easily SVG elements.

Primary LanguagePHPMIT LicenseMIT

SVG PHP DOM Extender Build Status Scrutinizer Code Quality

The purpose for this lib is to give tools for building HTML SVG code more easily using the PHP DOM library. Each element has all its attributes as properties with method to handle them more easily.

Installation

composer require arlisaha/svg-php-dom-extender

Usage

You can see usage samples in "usage" directory (when I'll have them done :)).

Contribute

Feel free to contribute and add missing elements and attributes !

License

This project is under MIT license.