Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 979 Bytes

File metadata and controls

24 lines (14 loc) · 979 Bytes

php-svg

Logo

A simple component that extends PHP's dom-ext to produce SVG documents

The component is in it's initial phase and in alpha release. The intended use case is to draw diagrams from server objects, such as databases, classes, dependencies, etc...

Basic Usage

  1. Initialize php-svg;
  2. Add Elements;
  3. Process the Output.

php-svg has one single method that outputs the svg document as a string so you can, for an example, pipe it to a binary or direct it to a file.

See the shapes example for details.

License

Licensed via the Apache License by Galvão Desenvolvimento Ltda.

Credits

php-svg's logo is a a work done on top of the PHP's ElePHPant (by Vincent Pontier) and the SVG logo (by W3C).