PHPackages                             spacebarz51/pivot-report - 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. spacebarz51/pivot-report

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

spacebarz51/pivot-report
========================

To create simple pivot report

v1.3(4y ago)05MITPHPPHP 7

Since May 21Pushed 4y ago1 watchersCompare

[ Source](https://github.com/spacebarz51/pivot-report)[ Packagist](https://packagist.org/packages/spacebarz51/pivot-report)[ RSS](/packages/spacebarz51-pivot-report/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

pivot-report
============

[](#pivot-report)

Usage
-----

[](#usage)

---

Create SQL in format as below:

```
select
    budget_code,    generatePdf();

```

#### To download as PDF

[](#to-download-as-pdf)

```
$pivotReport = new PivotReport('Budget Report', 'budget_code', 'payment_code', 'total', $pivotData);
$pivotReport->generatePdf('test.pdf');

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% 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 ~0 days

Total

4

Last Release

1813d ago

PHP version history (2 changes)1.0PHP &gt;=7.0

v1.2PHP 7

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b9b84a1c76dc7b7824b3253741b48366e87c525dfbf33ee63778aac4714665b?d=identicon)[spacebarz51](/maintainers/spacebarz51)

---

Top Contributors

[![spacebarz51](https://avatars.githubusercontent.com/u/43982714?v=4)](https://github.com/spacebarz51 "spacebarz51 (5 commits)")[![zaidimashoti](https://avatars.githubusercontent.com/u/44183501?v=4)](https://github.com/zaidimashoti "zaidimashoti (3 commits)")

---

Tags

csvpivotpivot report

### Embed Badge

![Health badge](/badges/spacebarz51-pivot-report/health.svg)

```
[![Health](https://phpackages.com/badges/spacebarz51-pivot-report/health.svg)](https://phpackages.com/packages/spacebarz51-pivot-report)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M708](/packages/maatwebsite-excel)[league/csv

CSV data manipulation made easy in PHP

3.5k166.1M637](/packages/league-csv)[rap2hpoutre/fast-excel

Fast Excel import/export for Laravel

2.3k24.9M47](/packages/rap2hpoutre-fast-excel)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M128](/packages/openspout-openspout)[goodby/csv

CSV import/export library

9555.6M23](/packages/goodby-csv)[sonata-project/exporter

Lightweight Exporter library

44920.9M35](/packages/sonata-project-exporter)

PHPackages © 2026

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