PHPackages                             linkorb/birt-renderer - 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. linkorb/birt-renderer

ActiveLibrary

linkorb/birt-renderer
=====================

Render BIRT reports from PHP

91.5k3[1 issues](https://github.com/linkorb/birt-renderer/issues)PHP

Since May 14Pushed 7y ago9 watchersCompare

[ Source](https://github.com/linkorb/birt-renderer)[ Packagist](https://packagist.org/packages/linkorb/birt-renderer)[ RSS](/packages/linkorb-birt-renderer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

BIRT Renderer
=============

[](#birt-renderer)

Render BIRT `.rptdesign` files from your PHP application.

You can use the BIRT Designer to create reports, and save them as `.rptdesign` files. Then you can generate the reports from your PHP application and present them to your end user.

The reports can be generated in HTML, PDF, DOC, XLS, PPT and Postscript.

How it works
------------

[](#how-it-works)

This library is a clean wrapper around the `genReport.sh` shell-script which is part of the BIRT Runtime. This means that you'll need to have the BIRT Runtime installed (see below).

Prerequisites: BIRT Runtime
---------------------------

[](#prerequisites-birt-runtime)

You'll need to have a recent version of the BIRT Runtime extracted somewhere on your computer/server.

You can download it here:

Make sure you download the `BIRT Runtime`, and not the `All-in-One` or other options.

After downloading the file (birt-runtime-4\_4\_1-20140916.zip at the time of this writing), simply extract the zip file somewhere on your disk.

You'll need to remember the pathname, as you'll need to when instantiating a new Renderer in your code.

Example usage from PHP
----------------------

[](#example-usage-from-php)

```
use BirtRenderer\Renderer;
use BirtRenderer\Report;
use BirtRenderer\Parameter;

// Instantiate a report, by filename
$report = new Report();
$report->loadFilename('/home/yourname/example.rptdesign');

// Instantiate the Renderer
$renderer = new Renderer();
// Set the BIRT_HOME environment variable (important)
$renderer->setBirtHome('/home/yourname/birt-runtime-4_4_1');

// Create a list of report-parameters (key/value)
$parameters = array();
$parameters[] = new Parameter('Color', 'Red');
$parameters[] = new Parameter('Size', 'XL');

// Render the report, with supplied parameters to $outputfilename
$outputfilename = '/home/yourname/out.pdf';
$renderer->render($report, $parameters, $outputfilename);
```

Example usage from the console
------------------------------

[](#example-usage-from-the-console)

This library includes an example console command to invoke the library. You can use it like this:

```
export BIRT_HOME=/home/yourname/birt-runtime-4_4_1
./bin/birt-renderer report:render --parameter Color=Red --parameter Size=XL myreport.rptdesign output.pdf

```

Based on the file-extension of the output file it will automatically detect the format.

License
-------

[](#license)

MIT (see [LICENSE.md](LICENSE.md))

Brought to you by the LinkORB Engineering team
----------------------------------------------

[](#brought-to-you-by-the-linkorb-engineering-team)

[![](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).

Btw, we're hiring!

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% 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/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (11 commits)")[![r4cker](https://avatars.githubusercontent.com/u/1056315?v=4)](https://github.com/r4cker "r4cker (1 commits)")

### Embed Badge

![Health badge](/badges/linkorb-birt-renderer/health.svg)

```
[![Health](https://phpackages.com/badges/linkorb-birt-renderer/health.svg)](https://phpackages.com/packages/linkorb-birt-renderer)
```

PHPackages © 2026

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