Skip to content

des1roer/yii2-underscore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Underscore.js asset for Yii2

Provides asset class for easy integration of Underscore.js into your Yii2 application.

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist "madand/yii2-underscore:*"

or add

"madand/yii2-underscore": "*"

to the require section of your composer.json file.

You may also specify the version of Underscore to install (e.g. 1.5, 1.8), starting from 1.5:

# this will install the latest revision in 1.8 branch (e.g. 1.8.3)
composer require --prefer-dist "madand/yii2-underscore:1.8"

Usage

In the view file register the asset:

\madand\underscore\UnderscoreAsset::register($this);

License

The BSD License (BSD). Please see License File for more information.

About

Underscore.js asset for Yii2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%