PHPackages                             rdpascua/reporter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rdpascua/reporter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rdpascua/reporter
=================

An elegant wrapper for JasperStarter using Laravel

01.0kHTML

Since Aug 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/rdpascua/reporter)[ Packagist](https://packagist.org/packages/rdpascua/reporter)[ RSS](/packages/rdpascua-reporter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Reporter
========

[](#reporter)

An elegant wrapper for JasperStarter using Laravel

Installation
------------

[](#installation)

```
composer require rdpascua/reporter
```

Usage
-----

[](#usage)

Loading a report and streaming it to the browser

```
use Rdpascua\Reporter\Facades\Reporter;

// Stream the report to the browser
Reporter::load('path/to/jasper/file.jasper')->stream('document.pdf');
```

Passing parameters

```
Reporter::load('path/to/jasper/file.jasper', [
    'param1' => 'value1',
    'param2' => 'value2',
])
->stream('document.pdf');
```

Saving the report to a file

```
Reporter::load('path/to/jasper/file.jasper', [
    'param1' => 'value1',
    'param2' => 'value2',
])
->save('document.pdf');
```

Generate a report using a database connection

```
Reporter::load('path/to/jasper/file.jasper')->withDataSource('pgsql')->save('document.pdf');
```

Compiling a jrxml file

```
Reporter::load('path/to/jasper/file.jrxml')->compile('path/to/jasper/file.jasper');
```

TODO: Compiling multiple jrxml files

```
Reporter::load([
    'path/to/jasper/file1.jrxml',
    'path/to/jasper/file2.jrxml',
    'path/to/jasper/file3.jrxml',
])->compile();

// Generates the following files
// path/to/jasper/file1.jasper
// path/to/jasper/file2.jasper
// path/to/jasper/file3.jasper
```

TODO
----

[](#todo)

- Compiling multiple jrxml files
- Add support for jdbc connections
- Add support for csv
- Add support for xml
- Add support for json

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/84f0d54cff698752ec4d348bffbd7ebb6bb46732fbc9108ad745c3748779f8b8?d=identicon)[rdpascua](/maintainers/rdpascua)

---

Top Contributors

[![rdpascua](https://avatars.githubusercontent.com/u/2498246?v=4)](https://github.com/rdpascua "rdpascua (26 commits)")

### Embed Badge

![Health badge](/badges/rdpascua-reporter/health.svg)

```
[![Health](https://phpackages.com/badges/rdpascua-reporter/health.svg)](https://phpackages.com/packages/rdpascua-reporter)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
