PHPackages                             watheqalshowaiter/filament-sticky-table-header - 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. [Admin Panels](/categories/admin)
4. /
5. watheqalshowaiter/filament-sticky-table-header

ActiveLibrary[Admin Panels](/categories/admin)

watheqalshowaiter/filament-sticky-table-header
==============================================

A Filament plugin that makes table headers stick when scrolling down for better UX.

1.5.1(3mo ago)3020.4k↑21.7%7[1 issues](https://github.com/WatheqAlshowaiter/filament-sticky-table-header/issues)[1 PRs](https://github.com/WatheqAlshowaiter/filament-sticky-table-header/pulls)MITPHPPHP &gt;=8.1CI passing

Since Oct 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/WatheqAlshowaiter/filament-sticky-table-header)[ Packagist](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[ Docs](https://github.com/watheqalshowaiter/filament-sticky-table-header)[ GitHub Sponsors](https://github.com/WatheqAlshowaiter)[ RSS](/packages/watheqalshowaiter-filament-sticky-table-header/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (26)Used By (0)

[![Package cover](./arts/package-cover.png)](./arts/package-cover.png)

Filament Sticky Table Header
============================

[](#filament-sticky-table-header)

[![Filament 3](https://camo.githubusercontent.com/9611b0156671ed88e9dcf9bfb94dfaf046af32cc4283f79fcdc2bc615d04a16c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d332e782d4632393131423f7374796c653d666c61742d737175617265)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[![Filament 4](https://camo.githubusercontent.com/5e18ee5c4f5cabef53e3da89bd253a8bc0b2041d08478e7c43fed2a5dbe5a38c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d342e782d4632393131423f7374796c653d666c61742d737175617265)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[![Required Laravel Version](https://camo.githubusercontent.com/29cad642f4104d65ac6d0ac7c5d2b9b224bb63c303b7bcc35e867a9d92f13e96/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d25453225383925413531302d6666326432303f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[![Required PHP Version](https://camo.githubusercontent.com/eb548691c540f4b65919fc8324a4897cbdafb51853c614f06ff34b418541c53c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722f7068702e7376673f636f6c6f723d253233383839324246266c6f676f3d706870267374796c653d666c61742d737175617265)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[![Latest Version on Packagist](https://camo.githubusercontent.com/02039328dce217f716085895d12a66f980e785574f810c441a9868500e2ba09a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header)[![GitHub Tests For Filament Versions Action Status](https://camo.githubusercontent.com/c7cf2e12e9dad6851d099f1fb2b37e759c6e5d6fa74decd1abb94d7ebb083ab6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d66696c616d656e7425323076657273696f6e2532307465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c7cf2e12e9dad6851d099f1fb2b37e759c6e5d6fa74decd1abb94d7ebb083ab6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d66696c616d656e7425323076657273696f6e2532307465737473267374796c653d666c61742d737175617265)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c2e1fb5a67543233e54103d8a6014a4463b13725026ac52aab7e68a9d03185fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c2e1fb5a67543233e54103d8a6014a4463b13725026ac52aab7e68a9d03185fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/bd8063b6ad42b99e689a0bfbccbebfb7e9d59589046c398b7de6eeeb6328a53e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465722e7376673f7374796c653d666c61742d73717561726526636f6c6f723d253233303037656336)](https://packagist.org/packages/watheqalshowaiter/filament-sticky-table-header/stats)[![GitHub Stars](https://camo.githubusercontent.com/4d998661451f47d391fb53e33e41543b56579f67bc7ca7911d2d51d82ab20df6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/4d998661451f47d391fb53e33e41543b56579f67bc7ca7911d2d51d82ab20df6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f776174686571616c73686f7761697465722f66696c616d656e742d737469636b792d7461626c652d6865616465723f7374796c653d666c61742d737175617265)[![StandWithPalestine](https://raw.githubusercontent.com/TheBSD/StandWithPalestine/main/badges/StandWithPalestine.svg)](https://github.com/TheBSD/StandWithPalestine/blob/main/docs/README.md)[![ko-fi](https://camo.githubusercontent.com/5e00067f5e4735d985d5936c33169a33b63c243a2f336dbdcc03c20f275b3320/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4b6f2d2d66692d537570706f72742d6666356635663f6c6f676f3d6b6f2d6669267374796c653d666c61742d737175617265)](https://ko-fi.com/watheq_show)

A Filament plugin that makes table headers stick when scrolling down for better UX.

Demo
----

[](#demo)

[![Demo](./arts/demo.gif)](./arts/demo.gif)

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

[](#installation)

You can install the package via composer:

```
composer require watheqalshowaiter/filament-sticky-table-header
```

Usage
-----

[](#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.

### Note on scroll to top

[](#note-on-scroll-to-top)

If you want to scroll to top on page change (next, previous, etc.), you can add this code inside your **PanelProvider** page for example `AdminPanelProvider`.

```
->plugins([
    StickyTableHeaderPlugin::make()
        ->shouldScrollToTopOnPageChanged()
])
```

You can configure **shouldScrollToTopOnPageChange()** like:

```
->shouldScrollToTopOnPageChanged(enabled: true, behavior: "smooth"); // or 'instant'
```

Features
--------

[](#features)

✅ Supports Laravel versions: 12, 11, and 10.

✅ Supports PHP versions: 8.4, 8.3, 8.2, and 8.1.

✅ Supports Filament versions: 5.x, 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: 5.x, 4.x and 3.x.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#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](https://github.com/watheqalshowaiter/filament-sticky-table-header/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
------------------------

[](#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
----------------

[](#related-packages)

- **[Model Fields](https://github.com/WatheqAlshowaiter/model-fields)** - Quickly retrieve required, nullable, and default fields for any Laravel model.
- **[Backup Tables](https://github.com/WatheqAlshowaiter/backup-tables)** - Backup single or multiple database tables with ease.

Support this project
--------------------

[](#support-this-project)

If this project helps you, consider supporting it on [Ko-fi ☕](https://ko-fi.com/watheq_show).

Credits
-------

[](#credits)

- [Watheq Alshowaiter](https://github.com/WatheqAlshowaiter)
- [All Contributors](https://github.com/WatheqAlshowaiter/filament-sticky-table-header/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity41

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.6% 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

Recently: every ~16 days

Total

17

Last Release

111d ago

Major Versions

0.1.4 → 1.0.12025-10-04

PHP version history (2 changes)0.1.0PHP ^8.1

1.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/46733da79a34ff686b036a09af1dcc6d21054aee25a5e029500dc87d3c69ba89?d=identicon)[WatheqAlshowaiter](/maintainers/WatheqAlshowaiter)

---

Top Contributors

[![WatheqAlshowaiter](https://avatars.githubusercontent.com/u/24838274?v=4)](https://github.com/WatheqAlshowaiter "WatheqAlshowaiter (75 commits)")[![Eslam-Nazer](https://avatars.githubusercontent.com/u/157602700?v=4)](https://github.com/Eslam-Nazer "Eslam-Nazer (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

filament-pluginfilamentphplaravelphplaraveluitablefilamentfilament-pluginscrolladmin-panelWatheqAlshowaiterWatheq Alshowaitersticky-header

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/watheqalshowaiter-filament-sticky-table-header/health.svg)

```
[![Health](https://phpackages.com/badges/watheqalshowaiter-filament-sticky-table-header/health.svg)](https://phpackages.com/packages/watheqalshowaiter-filament-sticky-table-header)
```

###  Alternatives

[a909m/filament-statefusion

Filament StateFusion is a powerful FilamentPHP plugin that seamlessly integrates Spatie Laravel Model States into the Filament admin panel. This package provides an intuitive way to manage model states, transitions, and filtering within Filament, enhancing the user experience and developer productivity.

3010.8k1](/packages/a909m-filament-statefusion)[inerba/filament-db-config

A Filament plugin for database-backed application settings and editable content, with caching and easy page generation.

329.1k](/packages/inerba-filament-db-config)[openplain/filament-tree-view

Tree view for Filament resources - drop-in replacement for Table with drag-and-drop hierarchical data management

318.5k](/packages/openplain-filament-tree-view)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

303.2k](/packages/caresome-filament-neobrutalism-theme)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

141.1k](/packages/mradder-filament-logger)

PHPackages © 2026

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