PHPackages                             dhenyson/jasper-report-php - 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. dhenyson/jasper-report-php

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

dhenyson/jasper-report-php
==========================

A PHP library to generate reports using JasperReports

1.2.0(4mo ago)2275MITHTMLPHP ^7.4|^8.0

Since Jul 18Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Dhenyson/JasperReportPHP)[ Packagist](https://packagist.org/packages/dhenyson/jasper-report-php)[ RSS](/packages/dhenyson-jasper-report-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Jasper Report PHP
=================

[](#jasper-report-php)

Generate reports easily from .jrxml files created with JasperSoft Studio.

> Development instruction in the end of this file.

> **.jrxml** to **.pdf**, **.xls**, **.docx**, **.csv** and more.

> The repository is this size because it is focused on practicality, so for this the repository already has jasperstarter files and jdbc drivers in its structure.

Requirements
============

[](#requirements)

- PHP 7.4+
- Java JDK 1.8 (set **ENV JAVA\_HOME** and **ENV PATH**)

Install
=======

[](#install)

```
composer require dhenyson/jasper-report-php
```

Supported Formats
=================

[](#supported-formats)

view, print, pdf, rtf, xls, xlsMeta, xlsx, docx, odt, ods, pptx, csv, csvMeta, html, xhtml, xml, jrprint

Basic example
=============

[](#basic-example)

```
