Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zelenin/yii2-semantic-ui
Semantic UI extension for Yii2
https://github.com/zelenin/yii2-semantic-ui
Last synced: about 2 months ago
JSON representation
Semantic UI extension for Yii2
- Host: GitHub
- URL: https://github.com/zelenin/yii2-semantic-ui
- Owner: zelenin
- License: mit
- Created: 2015-01-11T22:27:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T14:53:41.000Z (over 6 years ago)
- Last Synced: 2024-09-17T20:18:13.449Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 74.2 KB
- Stars: 112
- Watchers: 24
- Forks: 36
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-yii2 - zelenin/yii2-semantic-ui - ui.com/) (Extension 扩展)
- awesome-semantic-ui - Yii2 Semantic UI extension - UI. (Backend)
README
# Yii2 Semantic UI extension
[Semantic UI](http://semantic-ui.com) extension for [Yii2](http://www.yiiframework.com)
## Installation
yii2-semantic-ui 2.* works with Semantic UI 2.*
### Composer
The preferred way to install this extension is through [Composer](http://getcomposer.org/).
Either run
```
php composer.phar require zelenin/yii2-semantic-ui "~2"
```or add
```
"zelenin/yii2-semantic-ui": "~2"
```to the require section of your ```composer.json```
## Usage
Add SemanticUICSSAsset to AppAsset:
```php
set(\yii\grid\GridView::className(), \Zelenin\yii\SemanticUI\widgets\GridView::className());
Yii::$container->set(\yii\widgets\ActiveForm::className(), \Zelenin\yii\SemanticUI\widgets\ActiveForm::className());
Yii::$container->set(\yii\bootstrap\ActiveForm::className(), \Zelenin\yii\SemanticUI\widgets\ActiveForm::className());
Yii::$container->set(\yii\widgets\Breadcrumbs::className(), \Zelenin\yii\SemanticUI\collections\Breadcrumb::className());
Yii::$container->set(\yii\grid\CheckboxColumn::className(), \Zelenin\yii\SemanticUI\widgets\CheckboxColumn::className());
```Be very careful with it.
## Author
[Aleksandr Zelenin](https://github.com/zelenin/), e-mail: [[email protected]](mailto:[email protected])