PHPackages                             srag/jasperreport - 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. srag/jasperreport

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

srag/jasperreport
=================

This is an ILIAS wrapper for the JasperReport library. It allows ILIAS to print pretty PDF reports.

v2.0.21(7y ago)2473GPL-3.0-onlyPHPPHP &gt;=5.6

Since Aug 24Pushed 7y ago6 watchersCompare

[ Source](https://github.com/fluxapps/JasperReport)[ Packagist](https://packagist.org/packages/srag/jasperreport)[ Docs](https://github.com/studer-raimann/JasperReport)[ RSS](/packages/srag-jasperreport/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (23)Used By (0)

Jasper Report
=============

[](#jasper-report)

This is an ILIAS wrapper for the [JasperReport library](http://community.jaspersoft.com/project/jasperreports-library). It allows ILIAS to print pretty PDF reports.

Dependencies:

- Java 8 or higher must be installed. It must be accessible by the webservice user under /usr/bin/java. You can change this in the class.JasperReport.php file on Line 189.
- For older Java versions or for non Composer version, use the follow commit:
- Make sure that the webservice user has assigned a shell (e.g. at your own risk: $ sudo chsh -s '/bin/sh' www-data). Otherwise all PDF generation responses will come back empty.

### Usage

[](#usage)

#### Composer

[](#composer)

First add the following to your `composer.json` file:

```
"require": {
  "srag/jasperreport": ">=0.1.0"
},
```

And run a `composer install`.

If you deliver your plugin, the plugin has it's own copy of this library and the user doesn't need to install the library.

You can now remove the global installed `Customizing/global/libraries/JasperReport` on productive usages

Tip: Because of multiple autoloaders of plugins, it could be, that different versions of this library exists and suddenly your plugin use an older or a newer version of an other plugin!

So I recommand to use [srag/librariesnamespacechanger](https://packagist.org/packages/srag/librariesnamespacechanger)

### Generate Jasper xml template files

[](#generate-jasper-xml-template-files)

[iReport Designer](https://community.jaspersoft.com/project/ireport-designer)

### Dependencies

[](#dependencies)

- PHP &gt;=5.6
- [composer](https://getcomposer.org)
- [rdpascua/jasperstarter](https://packagist.org/packages/rdpascua/jasperstarter)
- [setasign/fpdi](https://packagist.org/packages/setasign/fpdi)
- [srag/dic](https://packagist.org/packages/srag/dic)

Please use it for further development!

### Adjustment suggestions

[](#adjustment-suggestions)

- Adjustment suggestions by pull requests
- Adjustment suggestions which are not yet worked out in detail by Jira tasks under
- Bug reports under
- For external users you can report it at [https://plugins.studer-raimann.ch/goto.php?target=uihk\_srsu\_LJASPER](https://plugins.studer-raimann.ch/goto.php?target=uihk_srsu_LJASPER)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~39 days

Total

22

Last Release

2638d ago

PHP version history (2 changes)2.0.7PHP ^5.6 || ^7.0

2.0.12PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/4139efd8968e3dfe84eceadd077aee74598331c8ed174b0339cc69ac445d2679?d=identicon)[mstuder](/maintainers/mstuder)

---

Top Contributors

[![mstuder](https://avatars.githubusercontent.com/u/472326?v=4)](https://github.com/mstuder "mstuder (5 commits)")[![otruffer](https://avatars.githubusercontent.com/u/410402?v=4)](https://github.com/otruffer "otruffer (4 commits)")[![wanze](https://avatars.githubusercontent.com/u/2118742?v=4)](https://github.com/wanze "wanze (4 commits)")[![chfsx](https://avatars.githubusercontent.com/u/6661332?v=4)](https://github.com/chfsx "chfsx (1 commits)")[![lzehnder](https://avatars.githubusercontent.com/u/37336819?v=4)](https://github.com/lzehnder "lzehnder (1 commits)")

---

Tags

reportjasperILIAS

### Embed Badge

![Health badge](/badges/srag-jasperreport/health.svg)

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

###  Alternatives

[jimmyjs/laravel-report-generator

Rapidly Generate Simple Pdf &amp; Excel Report on Laravel 5 (Using Barryvdh/DomPdf or Barryvdh/laravel-snappy &amp; maatwebsite/excel)

580157.4k1](/packages/jimmyjs-laravel-report-generator)[drutiny/drutiny

This is a generic Drupal 7 and Drupal 8 site auditing and optional remediation tool.

132122.2k17](/packages/drutiny-drutiny)[scheb/tombstone-analyzer

Generates reports based on the logs from scheb/tombstone-logger

28378.1k2](/packages/scheb-tombstone-analyzer)[quilhasoft/jasperphp

Pure PHP library to read JRXML files made with 'JasperSoft Studio' and generate reports in PDF

7542.4k1](/packages/quilhasoft-jasperphp)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

32157.4k](/packages/aspose-cloud-aspose-words-cloud)[silverstripe/securityreport

Generates a security and access report for CMS users

10292.1k4](/packages/silverstripe-securityreport)

PHPackages © 2026

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