SVG Creator, PHP class to generate svg files
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
examples
src/SVGCreator
.gitignore
LICENSE
README.md
composer.json

README.md

svgcreator

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

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.