Skip to content

Anshul-code/dynamic-report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JASPER REPORTS

Dynamically create Reports using jrxml file and Laravel.

Installation

To install dynamic jasper reports:

composer require anshul-netgen/jasper-report
Add Service Provider in app.php
AnshulNetgen\JasperReport\JasperReportServiceProvider::class
Publish config
php artisan vendor:publish
Add symblink to storage
php artisan storage:link
Usage
Using Api:
<?php

use AnshulNetgen\JasperReport\Helpers\JasperReport;

return JasperReport::make('pdf', 'http://localhost:8001/api/users');
Using JSON:
<?php

use AnshulNetgen\JasperReport\Helpers\JasperReport;

return JasperReport::makeFromJson('pdf', $json);

This Library is using https://github.com/PHPJasper/phpjasper

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages