watheqalshowaiter / filament-sticky-table-header
A Filament plugin that makes table headers stick when scrolling down for better UX.
Fund package maintenance!
WatheqAlshowaiter
Installs: 41
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 0
Forks: 1
pkg:composer/watheqalshowaiter/filament-sticky-table-header
Requires
- php: >=8.1
- filament/filament: ^3.0|^4.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0||^7.0
- orchestra/testbench: ^8.0|^9.0
README
Filament Sticky Table Header
A Filament plugin that makes table headers stick when scrolling down for better UX.
Demo
Installation
You can install the package via composer:
composer require watheqalshowaiter/filament-sticky-table-header
Usage
Register the plugin in your Panel provider:
use WatheqAlshowaiter\FilamentStickyTableHeader\StickyTableHeaderPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ // Other plugins... StickyTableHeaderPlugin::make(), ]); }
You may need to run this command to publish assets
php artisan filament:assets
That's it! Your table headers will now stick to the top when scrolling.
Features
✅ Supports Laravel versions: 12, 11, and 10.
✅ Supports PHP versions: 8.4, 8.3, 8.2, and 8.1.
✅ Supports Filament versions: 4.x and 3.x.
✅ Fully tested with PHPUnit with 100% code coverage.
✅ Full GitHub Action CI pipeline to format code and test against Filament versions: 4.x and 3.x.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
If you have any ideas or suggestions to improve it or fix bugs, your contribution is welcome.
I encourage you to look at Issues which are the most important features that need to be added.
If you have something different, submit an issue first to discuss or report a bug, then do a pull request.
Security Vulnerabilities
If you find any security vulnerabilities don't hesitate to contact me at watheqalshowaiter[at]gmail[dot]com
to fix
them.
Related Packages
- Model Fields - Quickly retrieve required, nullable, and default fields for any Laravel model.
- Backup Tables - Backup single or multiple database tables with ease.
Credits
License
The MIT License (MIT). Please see License File for more information.