3ch3r46 / bootui-datetimepicker
Bootstrap Datepicker and Timepicker in one extentions
Installs: 784
Dependents: 0
Suggesters: 0
Security: 0
Type:yii2-extension
pkg:composer/3ch3r46/bootui-datetimepicker
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-10-07 20:46:29 UTC
README
Bootstrap Datepicker and Timepicker in one extentions
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist 3ch3r46/bootui-datetimepicker "*"
or add
"3ch3r46/bootui-datetimepicker": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \bootui\datetimepicker\Datepicker::widget(); ?>
<?= \bootui\datetimepicker\Timepicker::widget(); ?>
or
<?= $form->field($model, 'attribute')->widget(Datepicker::className()); ?>
<?= $form->field($model, 'attribute')->widget(Timepicker::className()); ?>