PHPackages                             madand/yii2-underscore - 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. madand/yii2-underscore

ActiveYii2-extension

madand/yii2-underscore
======================

Underscore.js asset for Yii2

1.8(11y ago)120.3k↓26.7%3[2 PRs](https://github.com/MadAnd/yii2-underscore/pulls)1BSD-3-ClausePHP

Since Apr 15Pushed 8y ago1 watchersCompare

[ Source](https://github.com/MadAnd/yii2-underscore)[ Packagist](https://packagist.org/packages/madand/yii2-underscore)[ Docs](https://github.com/MadAnd/yii2-underscore)[ RSS](/packages/madand-yii2-underscore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

Underscore.js asset for Yii2
============================

[](#underscorejs-asset-for-yii2)

Provides asset class for easy integration of [Underscore.js](http://underscorejs.org/) into your Yii2 application.

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

[](#installation)

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

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

[](#usage)

In the view file register the asset:

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

License
-------

[](#license)

The BSD License (BSD). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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

4

Last Release

4051d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6896398cbe16a390aab9b2bff1b6d993b9304c1783d4b7ef48ab89b47ddedf93?d=identicon)[MadAnd](/maintainers/MadAnd)

---

Top Contributors

[![madand](https://avatars.githubusercontent.com/u/2280844?v=4)](https://github.com/madand "madand (8 commits)")[![memclutter](https://avatars.githubusercontent.com/u/7972741?v=4)](https://github.com/memclutter "memclutter (1 commits)")

---

Tags

yii2yiiunderscoreyii 2underscorejsunderscore js

### Embed Badge

![Health badge](/badges/madand-yii2-underscore/health.svg)

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

PHPackages © 2026

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