This a PHP library based on JasperReports library that let you create reports with a graphical tool (We recommend to use iReport).
Once you finish your report with iReport you'll have a file with extension jrxml, using this library you will export this jrxml to PDF, XLS, DOC, DOCX, PPTX, CSV, HTML, ODS, ODT, TXT, RTF and we are working to let the library export to SWF.
- Download PHP/Java Bridge(http://php-java-bridge.sourceforge.net/).
- Deploy the Java Bridge on tomcat Server.
- Copy the jar jasper lib, ireport lib and mysql connector j lib in tomcat lib folder
- Restart tomcat server
- Edit php.ini,turn on setting -> allow_url_include = On;
- Restart apache httpd server
- Copy whole folder jasper-report-php-integration into htdocs
- Include path of the library in php (require_once("http://localhost:8080/JavaBridge/java/Java.inc")), make sure path is correct and tomcat server is running.
- run index.php
This program is free software, under the GNU/GPLv3 license terms. See LICENSE.txt for the complete license.