[英]Create PDF in PHP without manually creating HTML
Can we really generate pdf files using php thro' some APIs without manually creating HTML. 我们真的可以使用php通过一些API生成pdf文件,而无需手动创建HTML吗? Beacuse I have got to create Invoices for some 50 groups and each having different HTML, so it would be a pain to create HTML for each of them and then create PDF using library from this HTML.
因为我必须为大约50个组创建发票,每个组具有不同的HTML,所以为每个组创建HTML,然后使用此HTML中的库创建PDF会很麻烦。 Is there any other way?
还有其他办法吗?
yes of course, start learning from 是的,当然,从
http://www.fpdf.org/ or https://tcpdf.org/
http://www.fpdf.org/或https://tcpdf.org/
It will definitely helps you 绝对可以帮到您
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.