PDF File Generation - What are you using?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vwduud
Forum Newbie
Posts: 10
Joined: Tue Mar 23, 2010 1:50 pm

PDF File Generation - What are you using?

Post by vwduud »

For creating pdf files in PHP 5.3.2, what are you using? Third party library? Something built in PHP?

Thanks - Jim
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PDF File Generation - What are you using?

Post by Christopher »

I use FPDF.
(#10850)
vwduud
Forum Newbie
Posts: 10
Joined: Tue Mar 23, 2010 1:50 pm

Re: PDF File Generation - What are you using?

Post by vwduud »

Christopher wrote:I use FPDF.
Did you start using FPDF from the beginning of your PDF development or did you migrate from previous PHP_PDFLib.DLL development?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: PDF File Generation - What are you using?

Post by Weirdan »

Zend_Pdf
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PDF File Generation - What are you using?

Post by Christopher »

I ended up with FPDF because it just worked. I hear Zend_Pdf is good too.
(#10850)
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: PDF File Generation - What are you using?

Post by pickle »

I've used PDFLib, FPDF, and TCPDF.

PDFLib is the most powerful of the three, but is also not free, and takes some server setup to get working. In hindsight, I didn't need to use this library.
TCPDF & FPDF work very similarly. TCPDF bugged me though, in that I had to extend the object to get custom headers & footers. Not a fan of that approach, so I went to FPDF, which should work just fine for 99% of what you need to do.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
roders
Forum Commoner
Posts: 68
Joined: Tue Oct 20, 2009 9:29 am

Re: PDF File Generation - What are you using?

Post by roders »

i use FPDF
Turv
Forum Commoner
Posts: 25
Joined: Fri Mar 13, 2009 3:56 pm

Re: PDF File Generation - What are you using?

Post by Turv »

I've used DOM PDF because i found it very simple to integrate into the Codeigniter Framework.
waynes888
Forum Newbie
Posts: 7
Joined: Mon Apr 05, 2010 7:44 pm

Re: PDF File Generation - What are you using?

Post by waynes888 »

mPdf - create PDF from html - excellent tool. http://mpdf.bpm1.com/

We generate 3000+ documents a day with this tool and it works flawlessy - uses the fPdf library but takes away the chore of creating the pdfs
Post Reply