mirkhamidov/yii2-treemanager

Simple Tree Manager


Keywords
tree, manager, yii2, mirkhamidov, yii2-treemanager
License
MIT

Documentation

yii2-treemanager

Installation

The preferred way to install this extension is through composer.

Either run

composer require mirkhamidov/yii2-treemanager "*"

or add

"mirkhamidov/yii2-treemanager": "*"

to the require section of your composer.json file.

Usage

echo mirkhamidov\treemanager\TreeManagerWidget::widget([
    'rootNodeId' => $rootId,
    'modelClass' => $modelClass,
]);