What PHP Library do you use for generating PDF files?

Question asked by Ghazanfar Mir 10 years ago

Hi,

Just out of interest, what library do you guys use to generate pdf files. This question is more related to the developers and I will really appreciate if you could share your experiences regarding the library you are using.

Thanks in advance

2 Replies

Hello Ghazanfar, we're using Prince (http://www.princexml.com/). It can generate PDF from HTML+CSS, quite handy :) I suggest to take a look at their documentation if you're interested in it. It's only free for non-commercial use though.

Thanks alot for your prompt response :)

Is there a reason you didn't consider other open source php libraries like fpdf, tcpdf?

I am actually working on a personal project which requires pdf generation for product catalogues. This catalogue may contain product images, specifications in various sections of the multi page document and I am looking into all possible options/libraries for this purpose.

It will really help me if you highlight key points of your experiences of using princexml and why not others?

Reply to this question

Attach images by dragging and dropping or upload
 

Your comments will be public and can be answered by anyone in the Clear Books community.

Find out what we do and who we are