/yii2-semantic-ui

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Semantic UI

Semantic UI extension for Yii2 framework.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist apache02/yii2-semantic-ui "*"

Add

"repositories":[
    {
        "type": "git",
        "url": "https://github.com/Apache02/yii2-semantic-ui.git"
    }
]

to your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \semantic\Menu::widget(['items'=>[...]]); ?>