PHPackages                             demogorgorn/yii2-sortable - 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. demogorgorn/yii2-sortable

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

demogorgorn/yii2-sortable
=========================

Create sortable lists and grids using HTML5 drag and drop API for Yii 2.0.

13371[1 PRs](https://github.com/demogorgorn/yii2-sortable/pulls)JavaScript

Since Mar 5Pushed 11y ago2 watchersCompare

[ Source](https://github.com/demogorgorn/yii2-sortable)[ Packagist](https://packagist.org/packages/demogorgorn/yii2-sortable)[ RSS](/packages/demogorgorn-yii2-sortable/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-sortable
=============

[](#yii2-sortable)

Yii2 wrapper for Sortable (), a minimalist JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist demogorgorn/yii2-sortable "*"

```

or add

```
"demogorgorn/yii2-sortable": "*"

```

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

How to use
----------

[](#how-to-use)

On your view file.

```
// items data example
