一个好用php的pdf插件,支持xhtml+css。 最重要的是免费开源,而且无需安装任何。
Started in 2002, TCPDF is now one of the world’s most active Open Source projects,
used daily by millions of users and included in thousands of CMS and Web applications.
详见:https://tcpdf.org/