Packery is a JavaScript library and jQuery plugin that makes gapless and draggable layouts. It uses a bin-packing algorithm to fill in empty gaps. Packery layouts can be intelligently ordered or organically wild. Elements can be stamped in place, fit in a specific spot, or dragged around. It’s perfect for draggable dashboard and seamless Masonry image galleries.
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bestyii/yii2-packery "*"
or add
"bestyii/yii2-packery": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :