PDF generation library
am 21.10.2007 12:55:23 von Any User
Hello
I'm seeking for a PDF generation library for PHP5. Can anybody point me
to a good solution?
What about:
- fpdf
- cpdfwriter
- ezpdf
Are these libraries stable and good to use? I need something
not-too-rich, but stable and preferrably lightweight. Something that I
will be able to just install and forget.
Thanks for your help.
Patrick
Re: PDF generation library
am 21.10.2007 14:41:26 von Thomas Mlynarczyk
Also sprach Any User:
> I'm seeking for a PDF generation library for PHP5. Can anybody point
> me to a good solution?
> - ezpdf
I have worked with this one, and I find it really good. Simple to use
(especially for creating tables straight from an array) and for free. There
are a few minor bugs, but nothing really bad (in the worst case, you can try
to fix them by yourself). It is lightweight. Just download, unzip, include
the class, call a few methods, and your PDF is ready - either being streamed
to the client or to be stored in a file. The manual (PDF, created with -
surprise! - EZPDF, and the code used to create it is available too) is short
while still containing all the information needed, so it's really easy to
get going.
Greetings,
Thomas
--
C'est pas parce qu'ils sont nombreux a avoir tort qu'ils ont raison!
(Coluche)
Re: PDF generation library
am 21.10.2007 15:16:56 von Courtney
Thomas Mlynarczyk wrote:
> Also sprach Any User:
>
>> I'm seeking for a PDF generation library for PHP5. Can anybody point
>> me to a good solution?
>
>> - ezpdf
>
> I have worked with this one, and I find it really good. Simple to use
> (especially for creating tables straight from an array) and for free. There
> are a few minor bugs, but nothing really bad (in the worst case, you can try
> to fix them by yourself). It is lightweight. Just download, unzip, include
> the class, call a few methods, and your PDF is ready - either being streamed
> to the client or to be stored in a file. The manual (PDF, created with -
> surprise! - EZPDF, and the code used to create it is available too) is short
> while still containing all the information needed, so it's really easy to
> get going.
>
I've downloaded the PECL *Postcript* library, and it's stable and good
as far as I can tell. I see no reason the PDF one wouldn't be.
I did have various niggles in getting the whol pecel/pear/library stuff
sorted out, but once there, everything seems to work 'as advertised'
> Greetings,
> Thomas
>
Re: PDF generation library
am 22.10.2007 09:10:29 von Daniel Rindt
Am Sun, 21 Oct 2007 12:55:23 +0200 schrieb Any User:
> I'm seeking for a PDF generation library for PHP5. Can anybody point me
> to a good solution?
Hello Patrick,
for a long time iam experimenting around with the named libs. But my
Problems in past are begin as the App is growing and want to create
Tables and Table of Contents and such.
Then it is better to use Smarty as Templating engine and LaTeX for
creating PDF's.
A Class i had written for doing this task, he is belonging to some typo3
api but you can replace it. The class is in early development state but
works since some months.
http://pastebin.com/m7ecd888b
Re: PDF generation library
am 22.10.2007 15:30:01 von Larry Anderson
I use FPDF with FPDI it met my needs: make PDFs, import and add to
PDFs. Seems to work well.