Page 1 of 1
Suggested PDF library
Posted: Fri Feb 19, 2010 3:24 pm
by alex.barylski
I'm using a wrapper for FPDF and it's ok but searching the PHP.net site I see this:
http://ca.php.net/manual/en/ref.pdf.php
Googling resulted in even more...
Any library that best supported, clearly becoming a winner/leader??? Which do you prefer and why?
Cheers,
Alex
Re: Suggested PDF library
Posted: Fri Feb 19, 2010 3:58 pm
by pickle
I've used TCPDF, PDFLib, and FPDF. The syntax between them all is pretty similar, TCPDF has a bit of an annoying way to customize (you need to extend the TCPDF object). For most things, FPDF is probably good enough for most cases.
Re: Suggested PDF library
Posted: Fri Feb 19, 2010 5:29 pm
by alex.barylski
I just realized FPDF actually builds the PDF document and doesn't take advantage of a extension API like pdflib. I like that
PDF is really complex, pretty cool actually.
Cheers,
Alex
Re: Suggested PDF library
Posted: Sat Feb 20, 2010 4:22 pm
by JakeJ
It would be really nice to have a converter that would do most of the heavy lifting and then just make tweaks after that.
Re: Suggested PDF library
Posted: Sat Feb 20, 2010 5:18 pm
by dzelenika
I'm using XSL-FO for creating PDF files (mostly reports)
Php is able to produce xml fo files. These files are input for FOP.
FOP is an apache open source project which produces PDF(or other document formats) from adequate XML files.
Re: Suggested PDF library
Posted: Sat Feb 20, 2010 5:56 pm
by JakeJ
I'll look in to that. Thanks!
Re: Suggested PDF library
Posted: Sun Feb 21, 2010 6:47 pm
by JakeJ
After looking them over, I decided to go with tcpdf. For some reason it just seems easier to deal with, and definitely has all the features I need.