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 Date Scopes Filter Laravel Package

aymanalhattami/filament-date-scopes-filter

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerating Admin Panel Development: Reduces time-to-market for internal tools requiring granular date-based filtering (e.g., analytics dashboards, reporting portals, or operational monitoring).
  • Consistency in UX: Standardizes date filtering across Filament-powered admin panels, improving usability for non-technical stakeholders (e.g., sales teams, support agents).
  • Roadmap for Advanced Filtering: Enables future expansion into multi-dimensional filtering (e.g., combining date scopes with other Filament filters like search or status).
  • Build vs. Buy: Avoids reinventing date-filtering logic for Filament tables, leveraging a battle-tested package with Laravel/Date Scopes integration.
  • Use Cases:
    • Operational Tools: Filter logs, transactions, or user activity by custom time ranges (e.g., "last 30 days excluding weekends").
    • Customer-Facing Portals: Empower users to self-serve data (e.g., "show my orders from Q2 2023").
    • Compliance/Reporting: Generate auditable time-bound reports (e.g., "all API calls in the last 90 days").

When to Consider This Package

  • Adopt When:

    • Your Filament admin panel requires flexible, pre-built date filtering (seconds to millennia) without custom UI/UX development.
    • Your models already use Laravel Date Scopes (dependency).
    • You prioritize developer velocity over full customization (e.g., for internal tools where UX parity is secondary).
    • Your team lacks frontend expertise to build a comparable solution from scratch.
  • Look Elsewhere If:

    • You need highly customized date ranges (e.g., "business days only" or fiscal-year adjustments) not covered by the package’s scopes.
    • Your project uses non-Filament tables (e.g., Livewire, Inertia, or vanilla Blade).
    • You require real-time filtering (this package is for server-side pagination, not live updates).
    • Your stakeholders demand white-label UX (the package’s UI is opinionated; customization may require overrides).
    • You’re already using a dedicated BI tool (e.g., Power BI, Metabase) where native date filters suffice.

How to Pitch It (Stakeholders)

For Executives:

"This package lets us ship date-filtered admin tools 3x faster by plugging into Filament—our existing admin framework—without hiring frontend devs. For example, our support team could instantly filter tickets by ‘last 7 calendar days’ or ‘this fiscal quarter’ in their dashboard, reducing manual report generation by 40%. The MIT license and Laravel ecosystem integration mean low risk, and we can iterate on scopes later if needed. Upfront cost: ~$0 (open-source); ROI: faster ops, happier teams."

For Engineering:

*"This solves a recurring pain point: manually building date filters for Filament tables. By leveraging Laravel Date Scopes and Filament’s ecosystem, we get:

  • Out-of-the-box UX: No Vue/React work for dropdowns, tooltips, or accessibility.
  • Backend consistency: Scopes reuse existing model logic (e.g., scopeLastWeek()).
  • Low maintenance: MIT-licensed, actively maintained (last release: Jan 2026), and composable with other Filament filters. Tradeoff: Limited UI customization, but we can extend it via Filament’s modify methods if needed. Recommend adopting for new Filament projects where date filtering is a priority."*

For Design/UX:

*"This package provides a functional but basic date filter UI (dropdowns for scopes like ‘days’, ‘months’). If our brand requires custom styling, we’d need to:

  1. Override Filament’s blade templates (moderate effort).
  2. Or use Filament’s modify to inject a custom component (higher effort). Proposal: Use this for internal tools where usability > aesthetics, and explore custom solutions for customer-facing apps."*
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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours