PHPackages                             nerburish/yii2-match-height-view - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nerburish/yii2-match-height-view

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

nerburish/yii2-match-height-view
================================

ListView widget improved to use Jquery Match Height (https://github.com/liabru/jquery-match-height)

5135PHP

Since Jun 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/nerburish/yii2-match-height-view)[ Packagist](https://packagist.org/packages/nerburish/yii2-match-height-view)[ RSS](/packages/nerburish-yii2-match-height-view/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 MatchHeight ListView Widget
================================

[](#yii2-matchheight-listview-widget)

 en 🇪🇸

ListView widget improved to use Jquery MatchHeight.js ()

Demo Screenshot: [![macth-height-view-demo](https://cloud.githubusercontent.com/assets/5610788/17892390/54c73df0-6941-11e6-8f2b-e2345b3b60de.png)](https://cloud.githubusercontent.com/assets/5610788/17892390/54c73df0-6941-11e6-8f2b-e2345b3b60de.png)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist nerburish/yii2-match-height-view "dev-master"

```

or add

```
"nerburish/yii2-match-height-view": "dev-master"

```

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

Usage
-----

[](#usage)

The usage is similar to default ListView Widget ()

You just need a dataProvider and prepare the item template for your model.

In clientOptions you can pass the MatchHeight.js options to modify the plugin behavior (see )

You can also attach a cssFile for styling the grid.

Exemple:

We have this model:

```
class MyModel extends \yii\base\Theme
{
	public $id;

	public $title;

	public $description;
}

```

And this item template named \_item.php:

```

```

Then in our view, we run the widget:

```

```

The css used for the demo:

```
/* ---- grid ---- */
.grid {
  box-sizing: border-box;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */
.grid-item {
  width: 24%;
  padding: 10px;
  margin: 0.5%;
  float: left;
  background: #e4e4e4;
  border-radius: 5px;
}

```

You may also be interested in Masonry.js ListView widget:

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/15d8609efafa1febdf2ebc686337c3f7c75596c97b98bce385e9290ce7bce5b0?d=identicon)[nerburish](/maintainers/nerburish)

---

Top Contributors

[![nerburish](https://avatars.githubusercontent.com/u/5610788?v=4)](https://github.com/nerburish "nerburish (8 commits)")

### Embed Badge

![Health badge](/badges/nerburish-yii2-match-height-view/health.svg)

```
[![Health](https://phpackages.com/badges/nerburish-yii2-match-height-view/health.svg)](https://phpackages.com/packages/nerburish-yii2-match-height-view)
```

PHPackages © 2026

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