• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 10 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Semantic UI extension for Yii2

Yii2 Semantic UI extension

Semantic UI extension for Yii2

Installation

yii2-semantic-ui 2.* works with Semantic UI 2.*

Composer

The preferred way to install this extension is through Composer.

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

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.

You may replace yii2 standard widgets. Write in bootstrap.php:

Yii::$container->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, e-mail: [email protected]

More Repositories

1

go-tdlib

Go wrapper for TDLib (Telegram Database Library)
Go
380
star
2

yii2-i18n-module

Yii2 i18n (internalization) module makes the translation of your application so simple
PHP
85
star
3

sms_ru

PHP-класс для работы с api сервиса sms.ru
PHP
85
star
4

telegram-bot-api

Telegram Bot API Client
PHP
59
star
5

yii2-slug-behavior

Yii2 slug behavior
PHP
51
star
6

yii2-rss

Yii2 RSS extension adds RSS-feed to your site
PHP
43
star
7

http-client

PSR-18 compatible HTTP client with middleware support
PHP
33
star
8

ddd-core

Core for Domain-driven design concepts
PHP
26
star
9

RSS-Generator

PHP class for generating of RSS feeds. Full support of [RSSboard specification](http://www.rssboard.org/rss-specification)
PHP
26
star
10

elo

A PHP implementation of Elo rating system
PHP
25
star
11

yii2-rbac-module

Yii2 RBAC module with generating assignments to DB from RBAC data store file rbac.php
PHP
24
star
12

go-mediainfo

Go bindings for MediaInfo
Go
15
star
13

go-glicko2

A Go implementation of Glicko2 rating system
Go
11
star
14

value-object

Collection of Value Objects
PHP
10
star
15

glicko2

A PHP implementation of Glicko2 rating system
PHP
8
star
16

zend-expressive-config

Zend Expressive config manager
PHP
7
star
17

yii2-semantic-ui-demo

Semantic UI extension for Yii2 demo
PHP
6
star
18

string

String transformers collection
PHP
5
star
19

grabot

Go wrapper for Telegram Bot API
Go
4
star
20

go-router

Deadly simple router
Go
3
star
21

hydrator

Hydrator/extractor
PHP
3
star
22

tdlib

Dockerfile
2
star
23

tdlib-alpine

Shell
2
star
24

message-bus

Lightweight message bus
PHP
2
star
25

go-actions

Dockerfile
1
star
26

go-worker-pool

Deadly simple worker pool
Go
1
star
27

go-mod-proxy

Go modules proxy boilerplate
Go
1
star