Generating PDFs with PHP [closed]

左心房为你撑大大i 提交于 2019-11-27 04:17:53

I once did a PHP project generating PDF. I used FPdf.

I never had any memory problems. It's free, it's pure PHP code. You don't have to load any extensions.

I don't know if there's some helpers to auto-generate document from a query, but in the website, you have some scripts that shows how to use it with MySql.

HTH

I'm amazed nobody uses FOP:) http://xmlgraphics.apache.org/fop/ ... you basically feed it an XML flie and it generates a PDF file... very quick, and dosent kill your server.

Fll out a latex template and call Xetex over it.

I think you'll find the results pleasing at Letterly.

There is a PDF extension for PHP but it's not great - however the Zend framework does have a class that makes good use of it - I reccommend trying that. I haven't heard of DOMPDF before.

I use EZPDF pretty much weekly. It's very easy to use, has great helper functions, but still lets you get in & do the nitty gritty detail work when you have to.

PrinceXML is a good alternative. It can cost a bit, but very powerful and easy to use.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!