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

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

xiongchuan/yii2-sortable-tree
=============================

The Tree widget based on Jquery-sortable-list,drag and drop to sort the tree.

019PHP

Since Dec 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/xiongchuan86/yii2-sortable-tree)[ Packagist](https://packagist.org/packages/xiongchuan/yii2-sortable-tree)[ RSS](/packages/xiongchuan-yii2-sortable-tree/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sortable Tree Widget for Yii 2
==============================

[](#sortable-tree-widget-for-yii-2)

The Sortable Tree widget based on Jquery-sortable-list,drag and drop to sort the tree.

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

[](#installation)

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

Either run

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

```

or add

```
"xiongchuan/yii2-sortable-tree": "*"
```

to the require section of your composer.json.

Usage
-----

[](#usage)

Once the extension is installed, simply add widget to your page as follows:

```
