Skip to content

prawee/yii2-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Assets

Management Asset for Yii 2.0 Application

Installation

The preferred way to install this extension is through composer.

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
use prawee\assets\PwAsset;
PwAsset::register($this);
.......
.......