PHPackages                             tina4stack/tina4php-reports - 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. tina4stack/tina4php-reports

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

tina4stack/tina4php-reports
===========================

Tina4 PHP Reporting Functionality

v2.0.6(1mo ago)02.2k↓50%1MITPascalPHP &gt;=8.1CI failing

Since Jul 3Pushed 1mo ago2 watchersCompare

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

READMEChangelog (7)Dependencies (16)Versions (8)Used By (1)

tina4php-reports
================

[](#tina4php-reports)

Report engine for the Tina4 PHP framework, generating reports as HTML, CSV, or PDF (via mPDF).

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

[](#installation)

```
composer require tina4stack/tina4php-reports
```

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- ext-json
- mpdf/mpdf ^8.1
- tina4stack/tina4php-core ^2.0

Usage
-----

[](#usage)

### Generating an HTML Report

[](#generating-an-html-report)

```
use Tina4\Report;

$report = new Report();
// ... configure report data and layout
echo $report->asHTML();
```

### Exporting as CSV

[](#exporting-as-csv)

```
$report = new Report();
// ... configure report data
$csv = $report->asCSV("output.csv");
```

### Exporting as PDF

[](#exporting-as-pdf)

```
$report = new Report();
// ... configure report data
$report->asPDF("report.pdf", "P"); // "P" for portrait, "L" for landscape
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

MIT - see [LICENSE](LICENSE)

---

Our Sponsors
------------

[](#our-sponsors)

**Sponsored with 🩵 by Code Infinity**

[![Code Infinity](https://camo.githubusercontent.com/1516fb1662e3486bce77822177a5ea199edc32ea109369812592ec9bca38159a/68747470733a2f2f636f6465696e66696e6974792e636f2e7a612f77702d636f6e74656e742f75706c6f6164732f323032352f30392f6338652d6c6f676f2d6769746875622e706e67)](https://codeinfinity.co.za/about-open-source-policy?utm_source=github&utm_medium=website&utm_campaign=opensource_campaign&utm_id=opensource)

*Supporting open source communities • Innovate • Code • Empower*

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance89

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~164 days

Recently: every ~38 days

Total

7

Last Release

56d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f5b9029a2a1d8a442e33ae01ba9ea43eada3c842edfa785a74304c7cd6ed0f9?d=identicon)[tina4stack](/maintainers/tina4stack)

---

Top Contributors

[![andrevanzuydam](https://avatars.githubusercontent.com/u/6102941?v=4)](https://github.com/andrevanzuydam "andrevanzuydam (11 commits)")[![JonoRabie011](https://avatars.githubusercontent.com/u/105292373?v=4)](https://github.com/JonoRabie011 "JonoRabie011 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tina4stack-tina4php-reports/health.svg)

```
[![Health](https://phpackages.com/badges/tina4stack-tina4php-reports/health.svg)](https://phpackages.com/packages/tina4stack-tina4php-reports)
```

###  Alternatives

[proner/phppimaco

Lib para geração de Etiquetas PIMACO

7470.0k](/packages/proner-phppimaco)[horstoeko/zugferdvisualizer

A library

33198.3k2](/packages/horstoeko-zugferdvisualizer)[mageplaza/module-share-cart

Magento 2 Share Cart extension

12182.8k2](/packages/mageplaza-module-share-cart)[eureka2/g6k

Generator of simulator of calculation (calculator)

235.5k](/packages/eureka2-g6k)

PHPackages © 2026

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