PHPackages                             2amigos/yii2-semantic-ui - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. 2amigos/yii2-semantic-ui

AbandonedArchivedYii2-extension[Framework](/categories/framework)

2amigos/yii2-semantic-ui
========================

Semantic UI Extension library for Yii2

0.1.1(11y ago)252955[3 issues](https://github.com/2amigos/yii2-semantic-ui/issues)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Mar 2Pushed 11y ago27 watchersCompare

[ Source](https://github.com/2amigos/yii2-semantic-ui)[ Packagist](https://packagist.org/packages/2amigos/yii2-semantic-ui)[ Docs](https://github.com/2amigos/yii2-semantic-ui)[ RSS](/packages/2amigos-yii2-semantic-ui/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Semantic UI Library for Yii2
============================

[](#semantic-ui-library-for-yii2)

[![Latest Version](https://camo.githubusercontent.com/1ab588915df6d548ea4649a405e553ab82cb87805b2b577770637418fa23ff40/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f32616d69676f732f796969322d73656d616e7469632d75692e7376673f7374796c653d666c61742d737175617265)](https://github.com/2amigos/yii2-semantic-ui/releases)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/6c1d64d19285c7cc7efdafb485c06f84da00e15545daabe20b83f793f253fe6c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f32616d69676f732f796969322d73656d616e7469632d75692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/2amigos/yii2-semantic-ui)[![Coverage Status](https://camo.githubusercontent.com/e8d391c65dd2a1d190b644633bdc9d475e5d922f6c4430571ff7093453da7ceb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f32616d69676f732f796969322d73656d616e7469632d75692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-semantic-ui/code-structure)[![Quality Score](https://camo.githubusercontent.com/e6ffd5d822ec531212f82ec175093dc4c7db633a2d0fb05440562d109c091345/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f32616d69676f732f796969322d73656d616e7469632d75692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/2amigos/yii2-semantic-ui)[![Total Downloads](https://camo.githubusercontent.com/3c7249389d96f78d4b4135ad09dba535acaa97cc29e9874acff1b1ea7e8c0b2e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f32616d69676f732f796969322d73656d616e7469632d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/2amigos/yii2-semantic-ui)

This is the Semantic UI extension for Yii2. It encapsulates Semantic UI components and plugins in terms of Yii widgets and helper classes, easing the usage of Semantic UI components/plugins into Yii applications.

Install
-------

[](#install)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist "2amigos/yii2-semantic-ui": "*"
```

or add

```
"2amigos/yii2-semantic-ui": "*"
```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

We are in the process of building a site for this extensions in the meantime, for example, making use of the `Dropdown`module widget with a search-in menu feature is as follows:

```
echo Dropdown::widget([
    'encodeText' => false,
    'text' => 'Filter posts',
    'icon' => false,
    'displaySearchInput' => true,
    'encodeItemLabels' => false,
    'items' => [
        'Tag Label',
        ['label' => 'Important'],
        ['label' => 'Announcement']
    ],
    'options' => [
        'class' => 'floating labeled search icon button'
    ],
]
);
```

Testing
-------

[](#testing)

To test the extension, is better to clone this repository on your computer. After, go to the extensions folder and do the following (assuming you have `composer` installed on your computer:

```
$ composer install --no-interaction --prefer-source --dev
```

Once all required libraries are installed then do:

```
$ phpunit
```

You can also run tests for specific groups only:

```
$ phpunit --group=helpers,modules
```

You can get a list of available groups via `phpunit --list-groups`.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Antonio Ramirez](https://github.com/tonydspaniard)
- [All Contributors](../../contributors)

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

> [![2amigOS!](https://camo.githubusercontent.com/9fd8f1de41dc23003bb2a54034cb6658dde5be97092e195a62d629d0d7fa7f6c/687474703a2f2f7777772e67726176617461722e636f6d2f6176617461722f35353336333339346437323934356666376564333132353536656330343165302e706e67)](http://www.2amigos.us)
> *web development has never been so fun*
> [www.2amigos.us](http://www.2amigos.us)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4089d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/566016?v=4)[Antonio Ramirez](/maintainers/tonydspaniard)[@tonydspaniard](https://github.com/tonydspaniard)

---

Tags

libraryextensionyiidosamigosyii2-semantic-ui

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/2amigos-yii2-semantic-ui/health.svg)

```
[![Health](https://phpackages.com/badges/2amigos-yii2-semantic-ui/health.svg)](https://phpackages.com/packages/2amigos-yii2-semantic-ui)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[yiisoft/assets

Asset bundles and asset manager

21318.1k34](/packages/yiisoft-assets)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
