PHPackages                             philippfrenzel/yii2masonry - 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. philippfrenzel/yii2masonry

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

philippfrenzel/yii2masonry
==========================

Yii2 Masonry Integration for Yii2

1.1.4(10y ago)1316.3k10[3 issues](https://github.com/philippfrenzel/yii2masonry/issues)MITPHPPHP &gt;=5.4.0

Since Jan 21Pushed 7y ago3 watchersCompare

[ Source](https://github.com/philippfrenzel/yii2masonry)[ Packagist](https://packagist.org/packages/philippfrenzel/yii2masonry)[ Docs](http://www.frenzel.net/)[ RSS](/packages/philippfrenzel-yii2masonry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (5)Used By (0)

yii2masonry

===============

Widget for masonry.js pinterest like layout container for Yii Framework 2 Original sources for the jquery plugin:

[![Latest Stable Version](https://camo.githubusercontent.com/562be6785be9270aedcba4cfd58b591f3d9d2cc3e85f265b35562e98ba99889d/68747470733a2f2f706f7365722e707567782e6f72672f7068696c6970706672656e7a656c2f796969326d61736f6e72792f762f737461626c652e737667)](https://packagist.org/packages/philippfrenzel/yii2masonry)[![Build Status](https://camo.githubusercontent.com/2808f104d61cc6d8da85fcf1dd03932af91908eac4fe1536cb03887bd82c034a/68747470733a2f2f7472617669732d63692e6f72672f7068696c6970706672656e7a656c2f796969326d61736f6e72792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/philippfrenzel/yii2masonry)[![Code Climate](https://camo.githubusercontent.com/0849de61db175343e3d5a7203fc58c8dccde23e281d940dbef898a1504a0b682/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7068696c6970706672656e7a656c2f796969326d61736f6e72792e706e67)](https://codeclimate.com/github/philippfrenzel/yii2masonry)[![Version Eye](https://camo.githubusercontent.com/85e71c0f3ec3ef9c6b8baf613fda0f5891375c0ebaf874f21405922299c0d29d/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7068696c6970706672656e7a656c3a796969326d61736f6e72792f62616467652e737667)](https://www.versioneye.com/php/philippfrenzel:yii2masonry)[![License](https://camo.githubusercontent.com/574baceabf2b333659ffd7fc6b3b84100dc60b0916f5912be11293390a18f01b/68747470733a2f2f706f7365722e707567782e6f72672f7068696c6970706672656e7a656c2f796969326d61736f6e72792f6c6963656e73652e737667)](https://packagist.org/packages/philippfrenzel/yii2masonry)

How to install?
---------------

[](#how-to-install)

Get it via [composer](http://getcomposer.org/) by adding the package to your `composer.json`:

```
{
  "require": {
    "philippfrenzel/yii2masonry": "*"
  }
}
```

And ensure, that you have the follwing plugin installed global:

> php composer.phar global require "fxp/composer-asset-plugin:~1.0"

Due to limitations of `fxp/composer-asset-plugin` you also need to add the following section to the `"extra"` section of your `composer.json`

```
"asset-repositories": [
  {
    "name": "bower-asset/eventemitter",
    "type": "bower-vcs",
    "url": "git://github.com/Wolfy87/EventEmitter.git"
  }
]

```

You may also check the package information on [packagist](https://packagist.org/packages/philippfrenzel/yii2masonry).

Usage
-----

[](#usage)

On a page with a ListView, just add:

```
