
[![Build Status](https://img.shields.io/travis/lichunqiang/yii2-layer.svg?style=flat-square)](http://travis-ci.org/lichunqiang/yii2-layer)
[![version](https://img.shields.io/packagist/v/light/yii2-layer.svg?style=flat-square)](https://packagist.org/packages/light/yii2-layer)
[![Download](https://img.shields.io/packagist/dd/light/yii2-layer.svg?style=flat-square)](https://packagist.org/packages/light/yii2-layer)
[![Issues](https://img.shields.io/github/issues/lichunqiang/yii2-layer.svg?style=flat-square)](https://github.com/lichunqiang/yii2-layer/issues)

## Install

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

```sh
$ composer install
```

or

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

## 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

> TBD

## LICENSE

![MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)
