backstage / table-filters
A Backstage package for filtering tables in Backstage.
Fund package maintenance!
Backstage
Requires
- php: ^8.1
- filament/filament: ^3.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
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.