l3 / jasper-bundle
Use jasper reports
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- jaspersoft/rest-client: ~2.0
This package is auto-updated.
Last update: 2025-03-11 14:28:39 UTC
README
Bundle Jaspersoft for Symfony2.
Allow generate a Jasper report
Installation
Install the Bundle with this command :
composer require l3/jasper-bundle:master
Add parameters in config.yml
l3_jasper:
host: http://rapport-jasper.univ-lille3.fr:8080
user: theUser
password: thePaswword
app/AppKernel.php
$bundles = array(
...
new l3\JasperBundle\l3JasperBundle(),
);
use with service.
...
use Symfony\Component\HttpFoundation\Response;
...
$reportEngine = $this->get('l3_jasper.report');
$report = $reportEngine->getReport('/reports/interactive/UIDparameter','html', array("UID" => array("7214","8548")));
return new Response($report);