Examples
Examples of PHPJasper Reports
Install / Use
/learn @PHPJasper/ExamplesREADME
PHPJasper Examples
How to use
Do you need Docker and Docker Compose installed in your machine
- Clone or download the repository;
- Run the commands into the path
/examples:docker-compose up -d;docker exec -it phpjasperExample composer install.docker exec -it phpjasperExample sudo apk add ttf-dejavu
Examples
Use the command docker exec -it phpjasperExample php index.php to run examples
Compile jrxml into .jasper
$examples->compileExample();
Process file .jrxml or .jasper
$examples->processExample();
List Parameters-> .jrxml or .jasper
$examples->listParametersExample();
Generate reports from a database
$examples->DbExample();
Generate reports from a database with sub reports
$examples->DbExampleWithSubReport();
Generate reports from an XML file
$examples->XMLExample();
Generate reports from a JSON file
$examples->JsonExample();
Folder structure
- compiled: Compiled .jasper files will be in this folder;
- data_files: Contains data sources for examples;
- input: Contains the reports
.jrxmlfiles; - output: Will have the results of the examples;
- resources: Contains other files.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
