PHPackages                             ptplugins/filament-pivot-table-free - 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. [Database &amp; ORM](/categories/database)
4. /
5. ptplugins/filament-pivot-table-free

ActiveLibrary[Database &amp; ORM](/categories/database)

ptplugins/filament-pivot-table-free
===================================

Free pivot table Blade component for FilamentPHP. Group Eloquent records into a 2-dimensional pivot with Sum aggregation. Works with Filament 3, 4, and 5.

1.1.4(1mo ago)3101MITPHPPHP ^8.2

Since May 2Pushed 1mo agoCompare

[ Source](https://github.com/ptplugins/filament-pivot-table-free)[ Packagist](https://packagist.org/packages/ptplugins/filament-pivot-table-free)[ Docs](https://ptplugins.com/filament-pivot-table)[ RSS](/packages/ptplugins-filament-pivot-table-free/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (8)Versions (7)Used By (0)

Filament Pivot Table — Free
===========================

[](#filament-pivot-table--free)

 [![Filament Pivot Table Free — sales pivot example](./screenshot.png)](./screenshot.png)

> Free Blade component that renders Eloquent records as a pivot table with Sum aggregation. Works with **Filament 3, 4, and 5**.

 [![Buy us a beer](https://camo.githubusercontent.com/1bef23d3b523a63534746f730a172d71f7bc0f925da66b491b6997a778c7777c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462538442542412d427579253230757325323061253230626565722d79656c6c6f77)](https://ptplugins.com/buy-us-a-beer)

**Live demo:** [ptplugins.com/demo/pivot-pro](https://ptplugins.com/demo/pivot-pro) — no signup required. The demo shows the **Pro** version with all features; the Free component renders the same table style limited to 2×2 dimensions and Sum aggregation.

```

```

That's it. One line in your view — pivot on screen.

---

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

[](#installation)

```
composer require ptplugins/filament-pivot-table-free
```

No publishing, no migrations, no config. The component auto-registers as ``.

Examples
--------

[](#examples)

### 1. Single dimension (1 row × 1 column)

[](#1-single-dimension-1-row--1-column)

```
// In your Filament Resource page or any Blade view:
$sales = Sale::query()->whereYear('created_at', 2026)->get();
```

```

```

### 2. Two dimensions (2 row × 2 column)

[](#2-two-dimensions-2-row--2-column)

```

```

The leftmost dimensions are rendered as grouping headers (`rowspan` / `colspan`).

### 3. Eloquent query (lazy)

[](#3-eloquent-query-lazy)

If you'd rather pass a query, the component runs `->get()` for you:

```

```

What's included (Free)
----------------------

[](#whats-included-free)

- Up to **2 row × 2 column** dimensions
- **Sum** aggregation
- Grand Total
- **Light + dark theme** out of the box (Tailwind `dark:` variants)
- **Translations** — English bundled, publish &amp; override for any locale
- Eloquent query OR Collection / array of records
- Filament v3 + v4 + v5 compatible (single codebase)

### Requirements

[](#requirements)

- Laravel 10+ / 11+ / 12+
- PHP 8.2+
- **Tailwind CSS in your build** — every Filament project already has it. The component uses standard utility classes (`bg-white`, `dark:bg-gray-900`, `text-gray-900`, etc.) that ship with the default Tailwind preset.

### Translations

[](#translations)

```
# Publish English (and any other locales you add later)
php artisan vendor:publish --tag=pivot-free-translations
```

Edit / add at `lang/vendor/pivot-free/{locale}/messages.php`.

What's NOT included — that's where Pro comes in
-----------------------------------------------

[](#whats-not-included--thats-where-pro-comes-in)

FeatureFreeProRow × column dimensionsup to 2 × 2unlimited (multi-level)AggregationsSumSum, Avg, Count, Min, Max, %Drill-down (expand / collapse)—✅Heatmap (color gradients)—✅Trend indicators (▲ / ▼ %)—✅CSV / Excel export—✅Configurable UI (Rows / Cols / Values pickers)—✅Saved filter sets / configurations—✅URL deep linking—✅Filament Resource Page integration—✅Priority email support + 1-year updates—✅→ **[Upgrade to Pro at ptplugins.com](https://ptplugins.com/filament-pivot-table)** — Solo $70 / Unlimited $210

License
-------

[](#license)

MIT. Made with ❤️ by [Premtech agency](https://agency.premte.ch).

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance91

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

Total

6

Last Release

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58f7e578abcf85b80036e2d54969fe0926997218a40aff6b517dd26fa38fdba9?d=identicon)[Premke](/maintainers/Premke)

---

Top Contributors

[![Premke](https://avatars.githubusercontent.com/u/1667836?v=4)](https://github.com/Premke "Premke (7 commits)")

---

Tags

laraveleloquentfilamentfilamentphpPivot tableBlade component

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ptplugins-filament-pivot-table-free/health.svg)

```
[![Health](https://phpackages.com/badges/ptplugins-filament-pivot-table-free/health.svg)](https://phpackages.com/packages/ptplugins-filament-pivot-table-free)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M98](/packages/mongodb-laravel-mongodb)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k32.6M46](/packages/kirschbaum-development-eloquent-power-joins)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)

PHPackages © 2026

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