Pivot Table Free plugin screenshot
Dark mode ready
Multilingual support
Supports v5.x

Pivot Table Free

Community

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.

Tags: Tables
Supported versions:
5.x 4.x 3.x
PtPlugins avatar Author: PtPlugins

Package health

Beta

Automated checks of this plugin's Composer package

90 / 100
Security 85
Maintenance 100
Ecosystem 88
15 checks
  • Skipped: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Skipped: Dependabot or Renovate configured
  • Skipped: Dependency update cooldown configured
  • Failed: Provides a security policy View details on Plumb
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 39 days ago; last release 49 days ago.
  • Passed: composer.lock not committed by library composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Warning: Current Laravel version supported — Package does not co-install with current Laravel 13.0; the newest co-installable line is 12.0, which still receives active support but is not the current stable.
  • Passed: Current PHP version supported — Constraint ^8.2 supports current PHP 8.5.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 1 week ago

Documentation

Filament Pivot Table Free — sales pivot example

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

Live demo: 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.

<x-pivot-free::pivot-table
    :records="$sales"
    rowField="region"
    columnField="month"
    valueField="amount"
/>

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


#Installation

composer require ptplugins/filament-pivot-table-free

No publishing, no migrations, no config. The component auto-registers as <x-pivot-free::pivot-table />.

#Examples

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

// In your Filament Resource page or any Blade view:
$sales = Sale::query()->whereYear('created_at', 2026)->get();
<x-pivot-free::pivot-table
    :records="$sales"
    rowField="region"
    columnField="month"
    valueField="amount"
    title="Sales by Region & Month"
/>

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

<x-pivot-free::pivot-table
    :records="$sales"
    :rowFields="['region', 'category']"
    :columnFields="['year', 'quarter']"
    valueField="amount"
/>

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

#3. Eloquent query (lazy)

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

<x-pivot-free::pivot-table
    :query="App\Models\Sale::query()->whereYear('created_at', 2026)"
    rowField="region"
    columnField="month"
    valueField="amount"
/>

#What's 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 & override for any locale
  • Eloquent query OR Collection / array of records
  • Filament v3 + v4 + v5 compatible (single codebase)

#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

# 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

Feature Free Pro
Row × column dimensions up to 2 × 2 unlimited (multi-level)
Aggregations Sum Sum, 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 — Solo $70 / Unlimited $210

#License

MIT. Made with ❤️ by Premtech agency.

The author

PtPlugins avatar Author: PtPlugins

Professional, well-documented, and battle-tested FilamentPHP plugins that save you weeks of development time.

Crafted with ❤️ by Premke from Premtech agency.

Plugins
5
Stars
12

From the same author