更新时间:2023-11-11 22:30:22
我今天偶然发现TCPDF,如果当时我知道的话,这本来是完美的.它只是纯PHP类的集合,在大多数情况下没有外部依赖项.
I stumbled across TCPDF today which would have been perfect for this, had I known about it at the time. It's just a collection of pure PHP classes, no external dependencies for most things.
它可以从头开始构建PDF,并且您可以在其中包含几乎所有想要的内容,包括SVG(以及许多其他内容),如以下示例所示:
It can build PDF's from scratch and you can include pretty much anything you want in there, including SVG (amongst many, many other things), as shown in these examples:
http://www.tcpdf.org/examples.php
主项目页面在这里:
Sourceforge页面在这里:
Sourceforge page is here: