PHPJasperXML
From SimIT Wiki
PHPJasperXML is a PHP class allow us to design PDF report easily via Javabased iReport designer.
Contents |
Requirement
- Run report: Apache + PHP + MySQL + OS (Linux or MacOS or Windows)
- Development: Java 1.6, Netbean + iReport plugin + proper mysql connection configuration
Test Installation
- Download latest PHPJasperXML [1]
- Extract the file into web folder any folder which is your web server accessible (I will use /var/www/PHPJasperXML)
- Open the PHPJasperXML folder, import database 'sampledb.sql' into your mysql server with database name phpjasperxml
- Edit setting.php to suit your environment
- Make sure your web server services is turning on, try browse to http://localhost/PHPJasperXML
- Try navigate to sample1 to sample 3 to see the result.
Tutorial
- Setup Development Environment
- Create First Report (.jrxml) Via IReport
- Integrate .jrxml with PHP (With parameter)
- Create Hyperlink
- Change PDF Font
- Special In Text Field (Please read)
- Format Date/Time & Number
- Dynamic Hide/Show Text Field / Change Font Color
- Header & Child Report
- Create report with group by function
- Develop Complicated Report Format
- Chinese Font Support
- Write HTML in PDF with TCPDF
- Fill in text field value with few variable/field
- Create report for ODBC Connection
Please Don't Do This, See The Alternative
Join Development
Changes
- Version 0.7
- Version 0.7a
- Version 0.7b
- Version 0.7c
- Version 0.7d
- Version 0.8
- Version 0.8a
- Version 0.8b
- Version 0.8c (development)
- Version 0.8d (wait)
- Version 0.9 (wait)
External Reference
PHPJasperXML heavily depends on project iReport (Designer) and FPDF(Run Time Rendering Engine), here is some information of this both project.

