Generate SVG from PHP