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

v1.4 2017-08-02 06:12 UTC

This package is not auto-updated.

Last update: 2024-06-03 05:48:50 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()) ?>