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
Requires
- php: ^8.1
- filament/forms: ^3.0 || ^4.0
- filament/support: ^3.0 || ^4.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
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.