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
Nova4 Date Range Filter

Nova4 Date Range Filter Laravel Package

coddin-web/nova4-date-range-filter

A simple date range filter for Laravel Nova 4. Add it to a Nova resource to let users narrow index listings between a start and end date, making date-based records easier to find, review, and manage.

View on GitHub
Deep Wiki
Context7

A Laravel Nova date range filter.

Frequently asked questions about Nova4 Date Range Filter
What does coddin-web/nova4-date-range-filter do?
coddin-web/nova4-date-range-filter is a small Composer package that provides a date range filter for Laravel Nova 4. Add it to a Nova resource and users can narrow that resource's index listing between a chosen start date and end date. It is aimed at making date-based records quicker to find, review, and manage.
How do I install the date range filter in a Laravel Nova 4 app?
Install it with Composer using composer require coddin-web/nova4-date-range-filter. Because it is a Nova 4 filter, you should already have Laravel Nova installed and configured in your application. After installation, the filter class becomes available to register on your Nova resources.
How do I add the filter to a Nova resource?
Register the package's filter class in your resource's filters() method, alongside any other filters the resource already uses. The filter then appears in the Nova filter dropdown on that resource's index page. Check the repository README for the exact class name and any constructor arguments.
Which Laravel and Nova versions does this package support?
The package targets Laravel Nova 4, as the package name indicates. You also need a compatible Laravel application running Nova. Check the repository's composer.json for the exact Laravel, PHP, and Nova version constraints before installing.
Can I filter on a date column other than created_at?
The package is described as a date range filter for Nova index listings, but the overview does not document custom column configuration. Look at the README or filter class to see whether the column can be passed in or is fixed. If your records use a different date field, confirm support before relying on it in production.
Does the filter handle timezones or custom date formats?
Timezone and date format handling are not documented in the package overview, so behaviour will depend on the filter's implementation and your application's configuration. Nova filters generally compare against the values stored in your database, so timezone conversions follow your app and database settings. Test with records near a day boundary if timezones matter to you.
What happens if a user only selects a start date or only an end date?
Behaviour with a single bound depends on the filter's implementation and is not described in the overview. A typical range filter falls back to an open-ended comparison, but you should verify this on a real Nova index. Test both single-bound cases before shipping it to users.
Can it be combined with other Nova filters and search?
This is a standard Nova filter, so it should compose with other filters and with Nova's search on the same index listing. Each filter contributes its own query constraints to the underlying index query. Test the combinations you care about on a real resource to confirm the results are what you expect.
How do I test that the date range filter works correctly?
Register the filter on a resource and exercise the Nova index endpoint with start and end dates in your feature tests. Assert that records inside the range are returned and records outside it are excluded. Add edge cases such as an identical start and end date, a single bound, and an empty range.
Is the package actively maintained, and what are the alternatives?
Check the GitHub repository for recent commits, releases, and open issues to judge maintenance status. If it does not fit your needs, you can generate your own filter with php artisan nova:filter and implement the date range logic, or evaluate other community date filter packages. Compare supported Nova versions before switching to an alternative.
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons