Download the PHP package coolsam/flatpickr without Composer
On this page you can find all versions of the php package coolsam/flatpickr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coolsam/flatpickr
More information about coolsam/flatpickr
Files in coolsam/flatpickr
Package flatpickr
Short Description Integrate Flatpickr with FilamentPHP
License MIT
Homepage https://github.com/savannabits/filament-flatpickr
Informations about the package flatpickr
Use Flatpickr as your datepicker in the Filament Forms and Panels.
[!IMPORTANT] HELP NEEDED
I need help in maintaining this project, given that I am currently unable to give it sufficient time. If you are willing and able to assist in maintaining the package, please reach out.
NB: These docs are for v3.x, which only supports Filament 3.x. For Filament v2 users, use this guide instead
Installation
Install the package via composer:
Next, Run the filament:assets
command to ensure the package's assets are published:
You may optionally publish the package's config file with the following command:
Usage
You can do a lot with just one Component: Flatpickr
You can use the Flatpickr component from this package as:
- DatePicker
- TimePicker
- DateTimePicker
- Range Picker
- Week Picker,
- Multiple-Date Picker
- Month Picker
Most of the fluent config methods are similar to Flatpickr's official options in naming.
The rest of the configuration is similar to a normal Filament TextInput
.
Here are some examples of the methods. Refer to Flatpickr's Official Documentation for details on each of the configurations.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Savannabits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of flatpickr with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.14.0
illuminate/contracts Version ^10.0|^11.0