README.md 679 Bytes
Newer Older
1 2
JUI Extension for Yii 2
=======================
3

4 5 6
This is the JQuery UI extension for Yii 2. It encapsulates JQuery UI widgets as Yii widgets,
and makes using JQuery UI widgets in Yii applications extremely easy. For example, the following
single line of code in a view file would render a JQuery UI DatePicker widget:
7

8 9 10
```php
<?= yii\jui\DatePicker::widget(['name' => 'start']) ?>
```
11

12

13
Installation
14 15
------------

16
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
17 18

Either run
19

20
```
21
php composer.phar require yiisoft/yii2-jui "*"
22 23 24
```

or add
25

26 27 28 29
```
"yiisoft/yii2-jui": "*"
```

30
to the require section of your `composer.json` file.
31