Fastest PDF generation in PHP?
问题 I'm attempting to generate some reports dynamically, very simple HTML tables with borders. I've tried TCPDF and it renders up to 400 rows just fine but anything more than that (about 20 pages) it can't handle it. DOMPDF can't even do that. These reports can be thousands of rows. Any idea on a faster library or a better plan of attack? 回答1: Try php-wkhtml2x php extension. It uses popular web engine webkit(Chrome and Safari uses that) 回答2: I use the FPDF library, the output is fast and resource