PHPackages                             liyuze/yii2-ztree - 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. [Framework](/categories/framework)
4. /
5. liyuze/yii2-ztree

ActiveYii2-extension[Framework](/categories/framework)

liyuze/yii2-ztree
=================

The zTree extension for the Yii framework 2.0

1.0.0(10y ago)102.0kBSD-3-ClauseJavaScript

Since Feb 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/liyuze/yii2-ztree)[ Packagist](https://packagist.org/packages/liyuze/yii2-ztree)[ Docs](https://github.com/liyuze/yii2-ztree)[ RSS](/packages/liyuze-yii2-ztree/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

yii2-ztree
==========

[](#yii2-ztree)

The zTree extension for the Yii framework 2.0

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

[](#installation)

The preferred way to install this extension is through composer.

Either run

```
php composer.phar require --prefer-dist liyuze/yii2-ztree "*"
```

or add

```
"liyuze/yii2-ztree": "*"
```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
