tiolancaster / svgcreator
An simple SVG Generator
Installs: 3 638
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: >=5.3.10
This package is not auto-updated.
Last update: 2024-04-09 02:35:52 UTC
README
SVG Creator, PHP class to generate svg files ( somewhat inspired by d3js )
Elements available:
- circle
- defs
- g
- line
- marker
- path
- rect
- svg
- text
Also added an example of a class to make a complex figure, a line with an arrow on the end
This class validates the most common parameters in several elements, read more on the Wiki: https://github.com/TioLancaster/svgcreator/wiki
Features
- Chaining methods
- Composer ready ( https://packagist.org/packages/tiolancaster/svgcreator )
TODO List
More elements More complex elements.
Build complex elements with few parameters, for example an polygon passing only the x, y and radius and number of vertices.