PHPackages                             xiongchuan/yii2-adminlte-treeview - 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. xiongchuan/yii2-adminlte-treeview

ActiveYii2-extension

xiongchuan/yii2-adminlte-treeview
=================================

A Bootstrap Treeview Generator for AdminLte Sidebar

149PHP

Since Dec 26Pushed 9y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Adminlte Treeview
======================

[](#yii2-adminlte-treeview)

A Bootstrap Treeview Generator for AdminLte Sidebar,Based meysampg/yii2-treeview

Description
-----------

[](#description)

对 meysampg/yii2-treeview treemenu进行了简单的增强，原作者merge的太慢，我fork了一个。

It's just an extended version of `yii\bootstrap\Nav` for generating proper code for sidebar of [AdminLte](https://almsaeedstudio.com/themes/AdminLTE/index.html) with support of badgets.

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

[](#installation)

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

Either run

```
composer require xiongchuan/yii2-adminlte-treeview "*"

```

or add

```
"xiongchuan/yii2-adminlte-treeview": "*"

```

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

Usage
-----

[](#usage)

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

```
use xiongchuan\treeview\Treeview;
```

and use it on your code by

```
