PHPackages                             nerburish/yii2-isotope-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-isotope-view

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

nerburish/yii2-isotope-view
===========================

ListView widget improved to use Isotope (http://isotope.metafizzy.co/)

61.1k2PHP

Since Aug 24Pushed 9y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Isotope ListView Widget
============================

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

Yii2 widget to extend the Yii2 ListView for use it as Isotope grid ()

Widget demo screenshot: [![demo](https://cloud.githubusercontent.com/assets/5610788/17946123/49153582-6a47-11e6-914d-f6424523836a.gif)](https://cloud.githubusercontent.com/assets/5610788/17946123/49153582-6a47-11e6-914d-f6424523836a.gif)

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-isotope-view "dev-master"

```

or add

```
"nerburish/yii2-isotope-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 Isotope options to modify the plugin behavior (see )

The filterAttribute parameter is the attribute name of the model passed that will be used as class for the grid-item tag. The attribute value can be an array or string of separated by spaces.

You can also attach a cssFile for styling the grid.

Exemple
-------

[](#exemple)

We have this model:

```
class MyElement extends \yii\base\Model
{
	public $id;

	public $name;

	public $symbol;

	public $number;

	public $weight;

	public $categories;
}

```

And this item template named \_item.php:

```

```

Finally, in our view, we run the widget:

```

```

All models, views and CSS styles used for the exemple are inside the folder demo-data. The template named index.php adds a filter buttons to test the filtering methods. It's a similar exemple that it's explained inside the Isotope documentation ()

```

  show all
  metal
  transition
  alkali and alkaline-earth
  not transition
  metal but not transition
  number &gt; 50
  name ends with –ium

```

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

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

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 (7 commits)")

### Embed Badge

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

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

###  Alternatives

[nicolaskruchten/pivottable

Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop.

4.4k214.5k1](/packages/nicolaskruchten-pivottable)

PHPackages © 2026

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