PHPackages                             ceefee/yii2-layui - 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. ceefee/yii2-layui

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

ceefee/yii2-layui
=================

The Layui extension for the Yii framework

v1.0.5(5y ago)229BSD-3-ClausePHP

Since May 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/CeeFee/yii2-layui)[ Packagist](https://packagist.org/packages/ceefee/yii2-layui)[ RSS](/packages/ceefee-yii2-layui/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

 [ ![](https://camo.githubusercontent.com/8603edcf6e900f8b86cc1ed0ba9580e85c42ba941b499d14d22f396a2f269a06/68747470733a2f2f73656e7473696e2e67697465652e696f2f7265732f696d616765732f6c617975692f6c617975692e706e67) ](https://www.layui.com/)

Layui Extension for Yii 2
=========================

[](#layui-extension-for-yii-2)

This is the Layui extension for [Yii framework 2.0](http://www.yiiframework.com). It encapsulates [Layui](https://www.layui.com/) components and plugins in terms of Yii widgets, and thus makes using Layui components/plugins in Yii applications extremely easy.

For license information check the [LICENSE](LICENSE.md)-file.

[![Latest Stable Version](https://camo.githubusercontent.com/3a0f9906a15811ce261331a592e724ef9553f0e90bb1535d01e53ad16af59086/68747470733a2f2f706f7365722e707567782e6f72672f6365656665652f796969322d6c617975692f762f737461626c652e706e67)](https://packagist.org/packages/ceefee/yii2-layui)[![Total Downloads](https://camo.githubusercontent.com/30ad5e8fe0430a9dab4ea1422688e75766c60946703b940068d3d5d99f0073f6/68747470733a2f2f706f7365722e707567782e6f72672f6365656665652f796969322d6c617975692f646f776e6c6f6164732e706e67)](https://packagist.org/packages/ceefee/yii2-layui)

Installation
------------

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist ceefee/yii2-layui

```

or add

```
"ceefee/yii2-layui": "~1.0.0"

```

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

Usage
-----

[](#usage)

For example, the following single line of code in a view file would render a Layui Progress plugin:

```
