it's a clone from https://github.com/kartik-v/yii2-widget-timepicker with a difference unlimited clock
The preferred way to install this extension is through composer.
To install, either run
$ php composer.phar require rikcage/yii2-widget-timepicker "*"
or add
"rikcage/yii2-widget-timepicker": "*"
to the require
section of your composer.json
file.
use rikcage\time\TimePicker;
// usage without model
echo '<label>Start Time</label>';
echo TimePicker::widget([
'name' => 'start_time',
'value' => '54:24',
'pluginOptions' => [
'showSeconds' => true
]
]);