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(3mo ago)12.4k↓35.7%1MITPascalPHP &gt;=8.1CI failing

Since Jul 3Pushed 3mo 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 2d 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

45

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

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

112d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/82961293?v=4)[Tina4](/maintainers/tina4stack)[@tina4stack](https://github.com/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

[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k172.1k9](/packages/bagisto-bagisto)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[furkankadioglu/efatura

EFatura

4454.6k1](/packages/furkankadioglu-efatura)[proner/phppimaco

Lib para geração de Etiquetas PIMACO

7674.8k](/packages/proner-phppimaco)

PHPackages © 2026

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