Reputation: 21
I have a problem with this integration in Laravel 5:
Exception in JasperPHP.php line 178: Your report has an error and couldn't be processed! Try to output the command using the function
output();
and run it manually in the console.
Code where exception happens:
\JasperPHP::process(
'D:\wamp\www\laravel-Project\reports\center_report.jasper',
false,
array("pdf", "rtf"),
array("php_version" => phpversion()),
$database
)->execute();
Upvotes: 2
Views: 5174
Reputation: 19
They Don't provide a specific package for Laravel5 but you can easily use JasperPHP by following their instructions https://github.com/cossou/JasperPHP
Upvotes: 1