For creating pdf files in PHP 5.3.2, what are you using? Third party library? Something built in PHP?
Thanks - Jim
PDF File Generation - What are you using?
Moderator: General Moderators
- 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?
Did you start using FPDF from the beginning of your PDF development or did you migrate from previous PHP_PDFLib.DLL development?Christopher wrote:I use FPDF.
- 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?
I ended up with FPDF because it just worked. I hear Zend_Pdf is good too.
(#10850)
Re: PDF File Generation - What are you using?
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.
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.
Re: PDF File Generation - What are you using?
I've used DOM PDF because i found it very simple to integrate into the Codeigniter Framework.
Re: PDF File Generation - What are you using?
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
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