Weave 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

Custom Date Filter Laravel Package

keizah7/custom-date-filter

A Laravel package that adds a configurable date filter to your admin panels, letting users narrow records by custom ranges, presets, or single dates. Simple to register, easy to style, and flexible enough for any resource.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Admin/back-office roadmap: If your internal ops team uses Laravel Nova, "filter records by a custom date range" shows up in nearly every resource — orders, invoices, audit logs, subscriptions. This package is a reference for that pattern rather than a strategic dependency.
  • Build vs. buy (and increasingly "build vs. copy"): The package is small and single-purpose. The real decision it informs is whether to spend an engineer-day writing a Nova filter in-house versus adopting a third-party one. At zero stars and zero dependents, the honest answer is copy the implementation and own it, not add a dependency.
  • Feature scoping for reporting surfaces: Confirms that date-range filtering is a table-stakes capability for any Nova-backed reporting or ops console. Treat it as evidence for including "custom date range" in your admin UX spec, not as a build commitment.
  • Supply-chain and maintenance budgeting: A package with no community validation implies you inherit 100% of maintenance, security review, and Nova-version upgrade work. That's a line item in the decision, and usually the deciding one.
  • Vendor risk assessment: Useful as a live example when defining your team's "minimum bar for third-party adoption" (stars, dependents, recent commits, CI, license, PHP/Nova version constraints).

When to Consider This Package

Consider it when all of the following hold:

  • You are already running Laravel Nova and have a specific resource that needs date filtering beyond Nova's built-in filter options.
  • Your need is narrow: one or a few date columns, a range picker, straightforward whereBetween semantics.
  • You are prepared to vendor or fork the code into your own repository, review it line by line, and own it — including upgrades when Nova ships a major version.
  • The license permits copying, and a quick read of the source shows no surprising dependencies or raw query interpolation.
  • The admin surface is internal and low-risk; a bug causes an annoyance, not a customer-facing incident.

Look elsewhere (or just write the filter yourself) when:

  • Nova's shipped filters already cover you — check this first, it's usually true for simple "last 7/30/90 days" needs.
  • You need timezone-aware, localized, or multi-column composite date logic; a small unmaintained package is the wrong foundation for nuanced date semantics.
  • You require a maintained dependency with an upgrade path, security patching, or a support channel.
  • You're not on Nova (Livewire/Filament/Inertia custom admin) — the package is not applicable, and its patterns translate only loosely.
  • Your organization has a dependency policy with a floor on maintenance signals; zero stars, zero dependents, and no release history will fail that gate, and rightly so.

How to Pitch It (Stakeholders)

To executives: This is a small, single-purpose add-on for our Laravel Nova admin panel that enables custom date-range filtering on records. It carries effectively no licensing cost, but it also carries no community validation — zero stars, zero known dependents. Our recommendation is not to adopt it as a dependency. Instead, we use it as a reference implementation and absorb roughly a day of engineering to build and own the equivalent filter internally. That removes supply-chain risk, avoids a stale third-party package blocking a future Nova upgrade, and still delivers the ops-facing capability on the roadmap.

To engineering: Treat this repo as a code sample, not a library. Review the filter's apply() logic, port it into app/Nova/Filters, add a test, and move on. Expected effort is small; the benefit is full control over date semantics and Nova-version compatibility. If someone wants to adopt it directly, they need to justify why owning a fork is worse than owning the file.

Bottom line: Valuable as a pattern, not as a product decision. The correct PM call is "build the 40 lines, cite this as prior art, and keep our dependency graph clean."

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.
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus