PHPJasperXML is a class that allows native PHP code to read Jasper report files and generate PDFs on the fly. The project began due to a need to develop Web reports in PHP easily. The output format is PDF, because it is platform-independent and printer-friendly. It allows PHP programmers to design reports with Java iReport and run them from PHP. It is completely different from php-java bridge, as the code is run completely from PHP. A wrapper will convert report element from JRXML and pass them to the FPDF class. The project is still in an alpha state, and much of the functionality is not ready. However, it already can create many reports.
The Hummus PDF Writer library allows you to generate PDF files. It was developed with a principal “one-off” method of generating PDF files. Adhering to this idea, it is both fast and retains a low memory signature regardless of how large the file grows. The library has a set of high level features for adding content to a PDF, including creation of pages; drawing primitives and any of the simple PDF operators for drawing content; embedding of PDF, JPEG, and TIFF images; Unicode text support with Type1, TrueType, and OpenType fonts; and defining reusable objects using XObject Forms. You can also use the library as a PDF parser. The library is very extensible. It is easy to implement more PDF features by using the lower level set of methods, which provide access to the PDF building blocks themselves. Adding a feature requires you to be familiar with the PDF formatting of that feature, but will not require you to write the basic PDF building blocks, as the library handles this.