backstage/table-filters

A Backstage package for filtering tables in Backstage.

v0.0.6 2025-04-09 13:56 UTC

This package is auto-updated.

Last update: 2025-05-12 11:15:33 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Nice to meet you, we're Backstage

Hi! We are a web development agency from Nijmegen in the Netherlands and we use Laravel for everything: advanced websites with a lot of bells and whitles and large web applications.

About the package

This package makes it easy to add filters to your Filament resource tables with minimal setup.

It allows you to define your table filters externally (file-based), helping you keep your code clean, organized, and easy to maintain.

Installation

You can install the package via composer:

composer require backstage/table-filters

Usage

In your resource, add the following method at the end of your table:

public static function table(Table $table): Table
{
    return $table
        ->withFileBasedFilters();
}

Now if you want to create a file-based Filament Table Filter, please execute the following command:

php artisan make:filament-filter

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.