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

ActiveYii2-extension

yii2mod/yii2-tree
=================

Tree widget based on Fancytree plugin.

1.3.2(8y ago)2164.8k↓32.5%3[1 issues](https://github.com/yii2mod/yii2-tree/issues)MITPHP

Since Jun 17Pushed 8y ago7 watchersCompare

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

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii2 Tree Widget
================

[](#yii2-tree-widget)

Tree widget based on Fancytree extension

[![Latest Stable Version](https://camo.githubusercontent.com/3a9e3100cde5104b8fdb1d42f7cceed7935cbcbabd1c8d17bd08f17686798b94/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d747265652f762f737461626c65)](https://packagist.org/packages/yii2mod/yii2-tree)[![Total Downloads](https://camo.githubusercontent.com/abcadd72f2f83a8a1ed98e2073bd2898acf70d2adad1035d2953f783ec2a5e81/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d747265652f646f776e6c6f616473)](https://packagist.org/packages/yii2mod/yii2-tree)[![License](https://camo.githubusercontent.com/081962858da7a32e184f9612bd539571c716869fd2d2dd093bef2550112b3a41/68747470733a2f2f706f7365722e707567782e6f72672f796969326d6f642f796969322d747265652f6c6963656e7365)](https://packagist.org/packages/yii2mod/yii2-tree)[![Build Status](https://camo.githubusercontent.com/a3bf7f73fd3a318cb939f5194dcdeaec025d0f6007549516557a441cfccf5f8e/68747470733a2f2f7472617669732d63692e6f72672f796969326d6f642f796969322d747265652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yii2mod/yii2-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 yii2mod/yii2-tree "*"

```

or add

```
"yii2mod/yii2-tree": "*"

```

to the require section of your composer.json.

Usage
-----

[](#usage)

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

```
