This package uses daterangepciker library to filter date by a range or predefined date ranges (Today , Yesterday ...etc)
You can install the package via composer:
composer require malzariey/filament-daterangepicker-filter
You can publish the config file with:
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-daterangepicker-filter-views"
As a Field
DateRangePicker::make('created_at'),
As a Filter
DateRangeFilter::make('created_at')->columnSpan(2)->label('Your Label')->withIndicater(),,
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.