php pdf generator supporting vector images

We are having an application in which we have vector image and using dompdf to convert html to pdf. But dompdf does not support vector image.

Can any one suggest me any php based pdf generator which supports table, background image and vector image.


TCPDF have support for Vector images in PDF. That's pure PHP library for PDF generation.

Look at example #32 here on:

The key standard for vector graphics on the web is SVG.

Consider building a SVG document, then converting this to PDF using either of RSVG, Inkscape or Apache Batik.

Sprint PDF supports vector images. And it does not need any server-side installation—it is a REST API that can be integrated into any application.

Need Your Help

Phing fails inside if statement

php build phing

If i execute this in phing it works well: