PHP code example of l3 / jasper-bundle
1. Go to this page and download the library: Download l3/jasper-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
l3 / jasper-bundle example snippets
$bundles = array(
...
new l3\JasperBundle\l3JasperBundle(),
);
...
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);