PHPackages                             sergio-vilchis/laravel-phpjasperxml - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. sergio-vilchis/laravel-phpjasperxml

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

sergio-vilchis/laravel-phpjasperxml
===================================

Laravel package to render JasperReports

1.3.0(9y ago)23.1k2[1 issues](https://github.com/sergio-vilchis/laravel-phpjasperxml/issues)PHP

Since Oct 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sergio-vilchis/laravel-phpjasperxml)[ Packagist](https://packagist.org/packages/sergio-vilchis/laravel-phpjasperxml)[ RSS](/packages/sergio-vilchis-laravel-phpjasperxml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

laravel-phpjasperxml
====================

[](#laravel-phpjasperxml)

A Laravel package to render JasperReports.

\###Installation

Add the following lines to your composer.json file

```
...
  sergio-vilchis/laravel-phpjasperxml": "^1.0"
}

```

Then update your packages with:

```
composer update

```

Add the Service Provider to you config/app.php file

```
'providers' => [
  ...
  Sergio\PhpJasperXML\JasperReportsServiceProvider::class,
]

```

And add an alias to the PHPJasperXML class

```
'aliases' => [
  ...
  'PHPJasperXML'  => Sergio\PhpJasperXML\PHPJasperXML::class,
]

```

Create an includes folder on your app and save there your jrxml files.

Create a ReportController with the following code

```
