Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 756 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 756 Bytes

Improved UIkit Extension for Yii 2

This is the UIkit extension for Yii 2. It encapsulates UIkit components and plugins in terms of Yii widgets, and thus makes using UIkit components/addons in Yii applications extremely easy. For example, the following single line of code in a view file would render a Progress plugin:

<?= demogorgorn\uikit\Progress::widget(['percent' => 60, 'label' => 'test']) ?>

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require demogorgorn/yii2-uikit "*"

or add

"demogorgorn/yii2-uikit": "*"

to the require section of your composer.json file.