1. Go to this page and download the library: Download drsoft/laraveljasper 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/ */
drsoft / laraveljasper example snippets
use LaravelJasper;
$path_reports = null
$input = __DIR__ . '/vendor/drsoft/laraveljasper/examples/hello_world.jrxml';
OR
$input = 'hello_world.jrxml';
$path_reports = __DIR__ . '/vendor/drsoft/laraveljasper/examples/';
LaravelJasper::compile($input,'',$path_reports)->execute();