PHP code example of marcoguada / mg-filament-timepicker
1. Go to this page and download the library: Download marcoguada/mg-filament-timepicker library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
marcoguada / mg-filament-timepicker example snippets
use Filament\Forms\Components\TimePicker;
TimePicker::make('start_time')
->popup(true)
->popupStyle('linear') // 'linear' (default) or 'radial' ->popupStyle('radial')
->popupFormat(24) // 24 (default) or 12
->format('H:i')
->displayFormat('H:i')
->seconds(false),
bash
php artisan vendor:publish --tag="mg-filament-timepicker-translations"