2017 © Pedro PelĂĄez
 

yii2-extension yii2-semantic-ui

Semantic UI extension for Yii2

image

obregonco/yii2-semantic-ui

Semantic UI extension for Yii2

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 37 Forks
  • 0 Open issues
  • 25 Versions
  • 220 % Grown

The README.md

Yii2 Semantic UI extension

Semantic UI extension for Yii2, (*1)

Installation

yii2-semantic-ui 2.* works with Semantic UI 2.*, (*2)

Composer

The preferred way to install this extension is through Composer., (*3)

Either run, (*4)

php composer.phar require obregonco/yii2-semantic-ui "~2"

or add, (*5)

"obregonco/yii2-semantic-ui": "~2"

to the require section of your composer.json, (*6)

Usage

Add SemanticUICSSAsset to AppAsset:, (*7)

<?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',
        'obregonco\SemanticUI\assets\SemanticUICSSAsset'
    ];
}

Use Semantic UI widgets and elements. Standard Yii2 widgets also adopted., (*8)

You may replace yii2 standard widgets. Write in bootstrap.php:, (*9)

Yii::$container->set(\yii\grid\GridView::className(), \obregonco\SemanticUI\widgets\GridView::class);
Yii::$container->set(\yii\widgets\ActiveForm::className(), \obregonco\SemanticUI\widgets\ActiveForm::class);
Yii::$container->set(\yii\bootstrap\ActiveForm::className(), \obregonco\SemanticUI\widgets\ActiveForm::class);
Yii::$container->set(\yii\widgets\Breadcrumbs::className(), \obregonco\SemanticUI\collections\Breadcrumb::class);
Yii::$container->set(\yii\grid\CheckboxColumn::className(), \obregonco\SemanticUI\widgets\CheckboxColumn::class);

Be very careful with it., (*10)

Examples

  • Inside an ActiveForm object
                $form->field($model, 'username')->label(false)->textInput([
                    'autofocus' => true,
                    'placeHolder' => $model->getAttributeLabel('username'),
                    'uiOptions' => [
                            'appendTo' => '<i class="user icon"></i>',
                            'class' => 'ui left icon input',
                    ]
                ])

Author

Obregon.co Ricardo O, (*11)

Credits

Original maintainer Aleksandr Zelenin, (*12)

The Versions

18/05 2017

dev-master

9999999-dev https://github.com/obregonco/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

New BSD

The Requires

 

yii2 widgets semantic semantic ui

06/02 2017

2.0.10

2.0.10.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

11/04 2016

2.0.9

2.0.9.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

06/09 2015

2.0.8

2.0.8.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

06/09 2015

2.0.7

2.0.7.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

16/08 2015

2.0.6

2.0.6.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

16/08 2015

2.0.5

2.0.5.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

02/08 2015

2.0.4

2.0.4.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

19/07 2015

2.0.3

2.0.3.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

18/07 2015

2.0.2

2.0.2.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

17/07 2015

2.0.1

2.0.1.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

05/07 2015

2.0.0

2.0.0.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

17/06 2015

0.2.12

0.2.12.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

07/06 2015

0.2.10

0.2.10.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

18/05 2015

0.2.9

0.2.9.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

12/05 2015

0.2.8

0.2.8.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

12/05 2015

0.2.7

0.2.7.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

12/05 2015

0.2.6

0.2.6.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

08/05 2015

0.2.5

0.2.5.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

07/05 2015

0.2.4

0.2.4.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

01/05 2015

0.2.3

0.2.3.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

03/03 2015

0.2.2

0.2.2.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

18/02 2015

0.2.1

0.2.1.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

05/02 2015

0.1.1

0.1.1.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui

12/01 2015

0.0.1

0.0.1.0 https://github.com/zelenin/yii2-semantic-ui

Semantic UI extension for Yii2

  Sources   Download

MIT

The Requires

 

yii2 widgets semantic semantic ui