Jump to content

Creating PDFs with PHP?


galvin

Recommended Posts

Anyone have any suggestions as to the best way to create PDFs using PHP?  I have a pretty good understanding of PHP, but am still pretty much a newbie overall, so the simpler the better.

 

I've seen mention of dompdf, html2pdf, fpdf, etc, etc. but don't know which one I should look into using.  I'd like to avoid having to install a new "library" if possible, but if that is necessary, then obviously I'll have to.

 

Basically, I will have a website which displays a table using html/css/php and I want to also make that table available to visitors in a nice PDF document.

 

Any ideas/suggestions/recommendations would be GREATLY appreciated.

 

Thanks,

Greg  :)

Link to comment
https://forums.phpfreaks.com/topic/191405-creating-pdfs-with-php/
Share on other sites

Also if you need just straightforward, quick and easy pdf's, fpdf has worked fine for me.

 

I am still working with FPDF and it does it's work, but I would seriouslt discourage everyone from selecting it as their PDF lib for any new projects. It's no longer being developed and it doesn't follow modern coding standards (throws a lot of E_NOTICE, E_STRICT and E_DEPRECATED) errors.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.