Skip to content

cybercog/yii2-semantic-ui

 
 

Repository files navigation

Yii2 Semantic UI extension

Semantic UI extension for Yii2

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require zelenin/yii2-semantic-ui "*"

or add

"zelenin/yii2-semantic-ui": "*"

to the require section of your composer.json

Usage

Add SemanticUICSSAsset to AppAsset:

<?php

namespace backend\assets;

use yii\web\AssetBundle;

class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [];
    public $js = [];
    public $depends = [
        'yii\web\YiiAsset',
        'yii\web\JqueryAsset',
        'Zelenin\yii\SemanticUI\assets\SemanticUICSSAsset'
    ];
}

Use Semantic UI widgets and elements. Standard Yii2 widgets also adopted.

Examples (or demo)

WIP

Work in progress

I need your feedback! I need your pull requests!

Author

Aleksandr Zelenin, e-mail: aleksandr@zelenin.me

About

Semantic UI extension for Yii2

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%