aprsoft / yii2-daterangepicker
yii2,extension,daterangepicker
Installs: 1 058
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-03-10 09:39:54 UTC
README
yii2 daterangepicker extension
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist aprsoft/yii2-daterangepicker "*"
or add
"aprsoft/yii2-daterangepicker": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \AprSoft\DateRangePicker\DateRangePicker::widget(); ?>
or
<?= $form->field($model, 'body')->widget(\AprSoft\DateRangePicker\DateRangePicker::className()) ?>