alvleont/calendar-input

A simple calendar input for FilamentPHP

Maintainers

πŸ‘ alletor

Package info

github.com/alvleont/calendar-input

Language:Blade

pkg:composer/alvleont/calendar-input

Fund package maintenance!

alvleont

Statistics

Installs: 435

Dependents: 0

Suggesters: 0

Stars: 7

Open Issues: 3

1.0.1 2025-07-09 23:00 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 01863050ed7c5dc0134eda5b5b4a4e0250ba938f

  • Alvaro LeΓ³n Torres <alletor.woop@gmail.com>

laravelalvleontcalendar-input


README

πŸ‘ Latest Version on Packagist
πŸ‘ GitHub Tests Action Status
πŸ‘ GitHub Code Style Action Status
πŸ‘ Total Downloads

A simple calendar input for FilamentPHP.

πŸ‘ Example

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.