A simple calendar input for FilamentPHP.
You can install the package via composer:
composer require alvleont/calendar-inputOptionally, you can publish the views using
php artisan vendor:publish --tag="calendar-input-views"Usage
use Alvleont\CalendarInput\CalendarInput;
class ProductResource
{
public static function form(Form $form): Form
{
return $form->schema([
CalendarInput::make('date')
->name('Calendar')
->minDate('2025-06-01') //You can use the date you want, or null (optional method)
->maxDate('2029-09-30') //You can use the date you want, or null (optional method)
->disabledDates([]) //Optional Method
->disabled() //In case It'll be disabled or for the view page.
]);
}
}composer testPlease see CHANGELOG for more information on what has changed recently.
You can contribute to the package. Just PR your code and It will be reviewed.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
