Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDFlib for php, is there an alternative [closed]

Tags:

php

pdf

I looked at the PDFlib website and they seemed to be charging a hefty fee for use of the PDF libraries. Is there an alternative open source pdf extension to php???

like image 632
kalpaitch Avatar asked Nov 05 '10 17:11

kalpaitch


1 Answers

There are tons out there.

As some have mentioned, there are:

  1. TCPDF
  2. FPDF
  3. Zend_Pdf
  4. DOMPDF - CSS 2.1 compliant
  5. WKHtmlToPdf
  6. HTML2PDF

And there's a ton more out there if you look...

If you include commercial, I've heard good things about Prince...

Personally, I've had great luck with DomPDF... TCPDF tended to be VERY buggy, but had a VERY active developer (which turned out to be a mixed blessing since the releases often broke the API), but then again this was years ago, so it could have changed. My experience with FPDF was that it was very buggy as well, with little to no support. But again, that was several years ago as well and it could have changed since then.

like image 169
ircmaxell Avatar answered Sep 21 '22 19:09

ircmaxell