Which is the best PDF library for PHP?

Posted by Darryl Hein on Stack Overflow See other posts from Stack Overflow or by Darryl Hein
Published on 2009-02-18T10:53:07Z Indexed on 2010/03/15 10:59 UTC
Read the original article Hit count: 387

Filed under:
|
|
|
|

I'm wondering which is the best PDF creation library for PHP, mainly for creating PDFs from scratch (not as much HTML to PDF)?

I have worked with FPDF for quite a while now, but it's getting quite old and hasn't had much for updates. I found TCPDF the other day (thanks you another question on SO). It seems very good and is based on FPDF so I don't think it'd be a big transition. FPDI also supports TCPDF which is nice as I have used it before and found it be useful.

I have also seen DOMPDF but it too hasn't had many updates for quite some time and is lacking a lot of functionality for general PDF generation. Zend (Zend_Pdf) as well as many other libraries have their own PDF libraries or extend another one, but you often have to setup the entire library, which for existing projects can be a problem.

What other libraries are there and what have your experiences with them been with the above or other libraries?

© Stack Overflow or respective owner

Related posts about php

Related posts about pdf