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 Daterangepicker Filter Laravel Package

malzariey/filament-daterangepicker-filter

Alpine.js-powered date range picker and filter for Filament. Pick day/month/year ranges with presets, optional time selection (12/24h), keyboard input validation, localization, accessibility, and modal/slide-over friendly dropdown teleport. Matches Filament v4 UI.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhanced User Experience (UX) in Admin Panels: Implementing a date range picker filter in Filament admin panels reduces cognitive load for users managing time-bound data (e.g., reports, logs, or transactions). This aligns with roadmap items focused on self-service analytics or operational efficiency for non-technical stakeholders.

  • Accelerated Development for Time-Based Features: Avoids reinventing the wheel for date-range filtering in Filament apps. Ideal for teams prioritizing rapid iteration on features like:

    • Subscription analytics (e.g., "Show me revenue between X and Y dates").
    • Audit trails (e.g., "Filter logs from last 30 days").
    • Content moderation (e.g., "Review posts published in Q2 2024").
  • Build vs. Buy Decision: Buy if:

    • Your team lacks frontend expertise to build a custom date-range picker.
    • You’re using Filament (this package is a drop-in solution).
    • You need quick validation of date ranges (e.g., "Start date cannot be after end date").
    • You want consistent UI across admin panels (avoids fragmented implementations).

    Build if:

    • You need highly customized date-range logic (e.g., fiscal year calendars, multi-select ranges).
    • Your app uses non-Filament frameworks or requires deep integration with existing date libraries (e.g., Carbon, Moment.js).
  • Roadmap Alignment:

    • Phase 1: Add date-range filtering to existing Filament tables (low effort, high impact).
    • Phase 2: Extend to Filament forms for time-bound data entry (e.g., "Schedule this campaign to run between X and Y").
    • Phase 3: Integrate with Filament Actions (e.g., "Export data for selected date range").

When to Consider This Package

Adopt this package if:

  • Your primary admin interface is built with Filament (v2 or v3).
  • You need simple, reusable date-range filtering in tables or forms.
  • Your use cases involve basic date comparisons (e.g., "Show me records where created_at is between X and Y").
  • You want to reduce frontend boilerplate while maintaining Filament’s design system.
  • Your team prioritizes maintainability over customization (MIT license, active updates).

Look elsewhere if:

  • You require advanced date logic (e.g., recursive date ranges, time zones, or fiscal calendars).
  • Your app uses non-Filament admin panels (e.g., Livewire standalone, Backpack, or custom Blade).
  • You need server-side date processing (e.g., Elasticsearch date queries) and want a tightly coupled solution.
  • Your stakeholders demand highly branded/custom UI for date pickers (this package uses Filament’s default styling).
  • You’re building a public-facing feature (this is optimized for admin panels).

How to Pitch It (Stakeholders)

For Executives (Business Impact)

"This package lets our team add professional-grade date-range filters to our admin tools in hours—not weeks. For example, our support team could instantly filter customer tickets by date range to resolve escalations faster, while our finance team could analyze monthly revenue trends without manual exports. It’s a low-risk, high-reward way to improve operational efficiency, especially for teams using Filament. The MIT license means no hidden costs, and the active development ensures long-term support."

Key Metrics to Track Post-Implementation:

  • Reduction in time spent on manual data filtering (e.g., "Support tickets resolved 20% faster with date-range filters").
  • Increase in self-service analytics adoption (e.g., "Finance team uses the dashboard 3x more with date controls").

For Engineering (Technical Value)

*"This is a Filament-native date-range picker that handles:

  • Validation (e.g., start date ≤ end date).
  • Query building (automatically generates whereBetween clauses for Eloquent).
  • UI consistency (matches Filament’s design system).
  • Minimal setup (just 1–2 lines of config per table/form).

Why use it over alternatives?

  • Faster than custom: No need to build a React/Vue component or style a third-party library.
  • Filament-optimized: Works seamlessly with Filament’s table actions, bulk actions, and export features.
  • Future-proof: The package is actively maintained (last release: April 2026).

Implementation Example:

use Malzariey\FilamentDaterangepickerFilter\Filters\DateRangeFilter;

DateRangeFilter::make('created_at')
    ->label('Creation Date')
    ->columnSpanFull(),

That’s it—your table now has a date-range picker with zero frontend work."*

Trade-offs:

  • Limited to basic date ranges (no custom date presets like "Last 7 Days" out of the box—though you can extend it).
  • Tied to Filament’s ecosystem (not framework-agnostic)."
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.
monarobase/country-list
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity