phpHtmlLib is
probably the best overall HTML/SVG/XML/WAP library. It provides svg functions
and (currently) 2 SVG widgets.
Installed at TECFA (examples and docs are access limited, it is better look at the home site of phphtmllib).
Here are just a few small examples... UNDER CONSTRUCTION !!