Download the PHP package marcoguada/mg-filament-timepicker without Composer
On this page you can find all versions of the php package marcoguada/mg-filament-timepicker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download marcoguada/mg-filament-timepicker
More information about marcoguada/mg-filament-timepicker
Files in marcoguada/mg-filament-timepicker
Package mg-filament-timepicker
Short Description A Filament v5 plugin that enhances timepicker fields with a popup time selector.
License MIT
Homepage https://github.com/marcoguada/mg-filament-timepicker
Informations about the package mg-filament-timepicker
mg-filament-timepicker
A Filament v5 plugin that enhances native TimePicker fields with a visual popup time selector.
Two styles are available: linear (vertical sliders) and radial (clock dial).
Requirements
- PHP 8.2+
- Filament v5
Installation
Usage
Chain the macros onto any native TimePicker field:
Macros
| Macro | Default | Description |
|---|---|---|
->popup(bool $enabled = true) |
— | Activates the popup on the field |
->popupStyle(string $style = 'linear') |
'linear' |
UI style: 'linear' or 'radial' |
->popupFormat(int $format = 24) |
24 |
Default hour format shown in the popup: 24 or 12 |
The user can toggle between 12h and 24h at any time from inside the popup.
Linear style
Vertical sliders for hours and minutes. Drag up/down to set the time.
Radial style
Classic clock dial. Drag the hour and minute handles around the clock face.
Translations
English and Italian are included out of the box. To publish the translation files for customization:
Changelog
Please see CHANGELOG for recent changes.
Author
Marco Guada — marco-guada.com
License
The MIT License (MIT). Please see License File for more information.
All versions of mg-filament-timepicker with dependencies
filament/filament Version ^5.0
filament/forms Version ^5.0
spatie/laravel-package-tools Version ^1.15.0