alvleont/calendar-input

A simple calendar input for FilamentPHP

Fund package maintenance!
alvleont

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Blade

1.0.0 2025-06-13 02:20 UTC

This package is auto-updated.

Last update: 2025-06-13 02:31:32 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A simple calendar input for FilamentPHP.

Installation

You can install the package via composer:

composer require alvleont/calendar-input

Optionally, 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.
        ]);
    }
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

You can contribute to the package. Just PR your code and It will be reviewed.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.