watheqalshowaiter/filament-sticky-table-header 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

watheqalshowaiter/filament-sticky-table-header

Composer 安装命令:

composer require watheqalshowaiter/filament-sticky-table-header

包简介

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

README 文档

README

Package cover

Filament Sticky Table Header

Filament 3 Filament 4 Filament 5 Required Laravel Version Required PHP Version Latest Version on Packagist GitHub Tests For Filament Versions Action Status GitHub Code Style Action Status Total Downloads GitHub Stars StandWithPalestine ko-fi

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

Demo

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.

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

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

✅ Supports PHP versions: 8.5, 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.

✅ CI verifies Laravel 10, 11, 12, and 13 across Filament 3.x, 4.x, and 5.x.

Laravel 13 requires PHP 8.3+ and a Laravel 13-compatible Filament 5 release.

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.

Support this project

If this project helps you, consider supporting it on Ko-fi ☕.

Credits

License

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

watheqalshowaiter/filament-sticky-table-header 适用场景与选型建议

watheqalshowaiter/filament-sticky-table-header 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 47.46k 次下载、GitHub Stars 达 34, 最近一次更新时间为 2025 年 10 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「ui」 「laravel」 「table」 「admin-panel」 「scroll」 「filament」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 watheqalshowaiter/filament-sticky-table-header 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 watheqalshowaiter/filament-sticky-table-header 我们能提供哪些服务?
定制开发 / 二次开发

基于 watheqalshowaiter/filament-sticky-table-header 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 47.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 34
  • 点击次数: 35
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 1
  • Forks: 7
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-04