tags:

views:

217

answers:

2

Basically i want a library for PHP that i can use to generate vector based graphic files like svg or pdf. it need to be able to output path and not pixel based results.

for example i want it to use like

generate_circle($radius)

etc

+2  A: 

PHP bindings for cairo

Ignacio Vazquez-Abrams
+1  A: 

It's not that hard to generate svg from php, here are some examples.

If you really want a library, there are probably many different options, SVGGraph and the ones pointed out here for example.

Google will help you find others I'm sure :)

Erik Dahlström