Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prawee/yii2-assets

Manage Yii2 Assets
https://github.com/prawee/yii2-assets

yii2 yii2-asset

Last synced: about 1 month ago
JSON representation

Manage Yii2 Assets

Awesome Lists containing this project

README

        

Yii2 Assets
===========
Management Asset for Yii 2.0 Application

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

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

Either run

```
php composer.phar require --prefer-dist prawee/yii2-assets "*"
```

or add

```
"prawee/yii2-assets": "*"
```

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

Usage
-----

- on view
```php
use prawee\assets\PwAsset;
PwAsset::register($this);
.......
.......
```