2017 © Pedro Peláez
 

library phpjasper

JasperReports integration with JavaBridge

image

polarbear/phpjasper

JasperReports integration with JavaBridge

  • Friday, September 12, 2014
  • by alaczi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 106 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP - JasperReports integration with JavaBridge

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

This component is to run JasperReports reports in PHP with using JavaBridge., (*2)

Why?

JasperReports is a great tool to generate reports with different output formats (for example: PDF, DOC, XLS), and it comes with a wysiwyg editor, JasperSoft Studio., (*3)

Requirements

To get this work, you have to install JavaBridge and add required .jars from JasperReports., (*4)

  • JavaBridge: https://sourceforge.net/projects/php-java-bridge
  • JasperReports: https://sourceforge.net/projects/jasperreports
  • JasperSoft Studio: https://sourceforge.net/projects/jasperstudio

There is a script in the Resources/script dir to easily start the standalone JavaBridge server with the jar files included in the classpath, (*5)

Install

Clone the project, (*6)

    git clone https://github.com/polarbearhandler/phpjasper.git

Using composer, (*7)

    composer require polarbear/phpjasper

For JavaBridge include you should set allow_url_include to On in php.ini, (*8)

Limitations

Currently, the JavaBridge should run on the same machine. It's recommended to run the JavaBridge with the same user as your webserver (www-data), (*9)

This library was tested with JasperReports 6.17.0, (*10)

Test and usage

Just run the tests Check the test suite for an example how to pass datasource/parameters to the report, (*11)

    phpunit src/

The Versions

12/09 2014

dev-master

9999999-dev https://github.com/polarbearhandler/phpjasper

JasperReports integration with JavaBridge

  Sources   Download

The Requires

  • php >=5.3.0

 

library report jasperreports javabridge

12/09 2014

v1.0.0

1.0.0.0 https://github.com/polarbearhandler/phpjasper

JasperReports integration with JavaBridge

  Sources   Download

The Requires

  • php >=5.3.0

 

library report jasperreports javabridge