pendalf89/yii2-tree Yii2 tree widget

yii2-tree

Tree widget for Yii2 models

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist pendalf89/yii2-tree "*"

or add

"pendalf89/yii2-tree": "*"

to the require section of your composer.json file.

Usage

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

<?= TreeWidget::widget([
    'models' => $models,
    'value' => function($model) {
            return $model->title;
        }
]) ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



GNU GPLv2 license
Stats
1 github stars & 3 github forks
0 downloads in the last day
0 downloads in the last 30 days
7091 total downloads