startpl/yii2-nested-sets-menu Widget to display nested sets as Menu

Nested Sets Menu Widget

  1. Installation
  2. Usage

Widget to display nested sets as Menu

Packagist Packagist Version


The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist startpl/yii2-nested-sets-menu "*"

or add

"startpl/yii2-nested-sets-menu": "*"

to the require section of your composer.json file.


A basic usage looks like the following: `php <?= Menu::widget([

 'items' => \startpl\yii2NestedSetsMenu\services\MenuArray::getData($data), // $data is your models|rows
 'options' => ['id'=>'main-menu', 'class' => 'menu'],



Also you can extending of MenuArray, NestedSetsTreeMenu for fine-tune your data
1 0
1 follower
Yii Version: 2.0
License: BSD-3-Clause
Category: User Interface
Developed by: koperdog
Created on: Feb 13, 2020
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions