PHPackages                             light/yii2-layer - 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. light/yii2-layer

ActiveLibrary[Framework](/categories/framework)

light/yii2-layer
================

yii2 asset plugin for layer

0.1.2(11y ago)71.7k1MITCSSPHP &gt;=5.4.0

Since Apr 24Pushed 11y ago3 watchersCompare

[ Source](https://github.com/lichunqiang/yii2-layer)[ Packagist](https://packagist.org/packages/light/yii2-layer)[ RSS](/packages/light-yii2-layer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/27c9379e8cd27f4aa333a8faeafe623b33582ce42b88d64ffd32f2524388d01c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c696368756e7169616e672f796969322d6c617965722e7376673f7374796c653d666c61742d737175617265)](http://travis-ci.org/lichunqiang/yii2-layer)[![version](https://camo.githubusercontent.com/14bde7b4da014b2929b4a47e5b00bc41b7b47e988141b25511367fdf93914ae9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696768742f796969322d6c617965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/light/yii2-layer)[![Download](https://camo.githubusercontent.com/5ecf6859a12080f411eaf116c2bb40c8dc563cec29e5dde40cf5829842779eb0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64642f6c696768742f796969322d6c617965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/light/yii2-layer)[![Issues](https://camo.githubusercontent.com/303e5602c2f019823be3b7c65c1469efa828c8865cf44a7295f9eb07a40962fb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c696368756e7169616e672f796969322d6c617965722e7376673f7374796c653d666c61742d737175617265)](https://github.com/lichunqiang/yii2-layer/issues)

Install
-------

[](#install)

add `light/yii2-layer` to composer.json

```
$ composer install
```

or

```
$ composer require light/yii2-layer=*
```

Usage
-----

[](#usage)

in view:

```
use light\assets\LayerAsset;

LayerAsset::register($this);

```

and for mobile, you can do like this:

```
use light\asset\LayerMobielAsset;

LaryerMobileAsset::regiter($this);

```

Test
----

[](#test)

> TBD

LICENSE
-------

[](#license)

[![MIT](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~0 days

Total

3

Last Release

4042d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ead2ef2c9862aa3d75a97de86af1e3cfa919886e8981bf0808cddd93f563777?d=identicon)[light](/maintainers/light)

---

Top Contributors

[![lichunqiang](https://avatars.githubusercontent.com/u/2433916?v=4)](https://github.com/lichunqiang "lichunqiang (6 commits)")

### Embed Badge

![Health badge](/badges/light-yii2-layer/health.svg)

```
[![Health](https://phpackages.com/badges/light-yii2-layer/health.svg)](https://phpackages.com/packages/light-yii2-layer)
```

###  Alternatives

[skeeks/cms

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

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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