everzel / nova-date-range-filter
A Laravel Nova date range filter.
v1.0.1
2021-05-07 12:57 UTC
Requires
- php: ^7.2|^8.0
This package is not auto-updated.
Last update: 2024-11-01 04:48:47 UTC
README
Nova filter that displays a Date Range Picker instead of a select.
Install
Run this command in your nova project:
composer require marshmallow/nova-date-range-filter
How to use
Just use DateRangeFilter class instead of Filter
public function filters(Request $request) { return [ new \Marshmallow\Filters\DateRangeFilter('created_at', 'Created date'), ]; }