Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Header Filters Laravel Package

leek/filament-header-filters

Add inline filters to Filament table column headers. Attach any BaseFilter (selects, date pickers, min/max ranges, custom schemas) as a richer alternative to individual searchable fields. Works with Filament v4/v5, PHP 8.2+.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhanced User Experience (UX) for Data Exploration: Accelerates adoption of self-service analytics by embedding filters directly in table headers, reducing reliance on sidebars or modals for filtering. Aligns with roadmap items focused on improving admin panel usability, particularly for custom Filament pages (e.g., HasTable pages) where boot order previously caused initialization issues.
  • Build vs. Buy Decision: Avoids reinventing complex UI components while addressing edge cases like state normalization for single/multi-select filters, reducing dev time and maintenance overhead. The fix for HasTable pages eliminates a common integration hurdle for custom admin panels.
  • Use Cases:
    • E-commerce: Filter orders by status, date ranges, or customer segments inline, now with reliable initialization on custom pages.
    • CRM: Narrow contacts by region, lead source, or deal stage without leaving the table view, with fixed stale state issues in single-select filters.
    • Internal Tools: Streamline reporting dashboards with dynamic column-specific filters (e.g., "Show only high-priority tasks"), now supported on all Filament table types.
  • Roadmap Enabler: Supports future plans for "smart defaults" in Filament by ensuring stable filter state management and consistent initialization, reducing friction for developers extending the package.

When to Consider This Package

  • Adopt When:
    • Your Filament-based admin panel has tables with 5+ columns where users frequently filter by specific columns (e.g., status, date, category), especially on custom HasTable pages.
    • You need rich filter types (dropdowns, ranges, custom schemas) without building UI components from scratch, now with fixed state normalization for single/multi-select transitions.
    • Your team prioritizes developer velocity over customization, and you want reliable initialization across all Filament table types.
    • You’re using Filament v4/v5 and PHP 8.2+ (no polyfills needed), and your build process includes Vite/NPM for asset rebuilding.
  • Look Elsewhere If:
    • Your use case requires server-side filtering logic beyond what BaseFilter supports (e.g., complex SQL joins or full-text search).
    • You need real-time filtering (this package relies on Livewire’s default debouncing).
    • Your design system conflicts with Filament’s defaults (package styles are opinionated; customization may require overrides).
    • You’re using Filament v3 or older (incompatible).
    • Your team lacks Vite/NPM build processes (stylesheet integration requires asset rebuilding).
    • You rely on multi-select filters where stale state is critical (though v2.0.4 mitigates this, edge cases may persist in highly dynamic tables).

How to Pitch It (Stakeholders)

For Executives: *"This updated package fixes two critical gaps for our admin tools:

  1. Custom pages now work seamlessly: Support teams can filter tickets by status/date without breaking on custom dashboards (e.g., ‘Top Customers by Region’).
  2. No more blank filters: Single-select dropdowns (like ‘Order Status’) now retain their values correctly, reducing user frustration. It’s a drop-in upgrade that eliminates two common pain points—saving dev time and improving UX—while keeping costs at zero (MIT license). For example, our sales team could instantly filter deals by ‘Stage’ and ‘Quarter’ in one view, cutting their reporting time by 30%."*

For Engineering: *"v2.0.4 resolves two blockers for adopting this package:

  1. Fixed HasTable initialization: Filters now register correctly on custom pages, so we can use this for internal tools without workarounds.
  2. State normalization: Single-select filters (e.g., ‘Status: Pending’) no longer show blank after multi-select usage, which was a UX bug in v1. Tradeoffs remain: We’ll still need to rebuild assets (Vite/NPM) and handle styling conflicts, but these fixes make the package 90%+ viable for our use cases. For teams with complex filtering needs, this cuts dev time by ~80% vs. a custom solution, and the active repo (last update: May 2026) ensures long-term support. Recommendation: Upgrade to v2.0.4 if you’re using Filament v4/v5 and have custom table pages or single/multi-select filters."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle