PHPackages                             quanzo/yii2-menu - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. quanzo/yii2-menu

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

quanzo/yii2-menu
================

Organize many menus for site. Module for Yii2

1.0.0(6y ago)02MITPHPPHP &gt;=7.0

Since Sep 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/quanzo/yii2-menu)[ Packagist](https://packagist.org/packages/quanzo/yii2-menu)[ RSS](/packages/quanzo-yii2-menu/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Menu - module for Yii2
======================

[](#menu---module-for-yii2)

The module is designed to organize several menus on the site.

Supported restriction on the display of each menu item

- by route
- by access rights

You can show guests one thing and administrators another.

\-----------------------------------------

Модуль предназначен для организации нескольких меню на сайт.

Поддерживается ограничение на показ каждого пункта меню

- по route
- по правам доступа

Можно показать гостям одно, а администраторам другое.

\-----------------------------------------

Install
=======

[](#install)

Use composer

```
composer require "quanzo/yii2-menu"

```

or add in section *require* in *composer.json*

```
"quanzo/yii2-menu": "*"

```

Install db migration.

Configure
---------

[](#configure)

```
$config = [
    'modules' => [
        'menu' => [
            'class' => 'x51\yii2\modules\menu\Module',
            'as access' => [
                'class' => \yii\filters\AccessControl::className(),
                'rules' => [
                    [
                        'allow' => true,
                        'roles' => ['menu_manage'],
                     ],
                     [
                         'allow' => false,
                         'roles' => ['?'],
                     ],
                 ],
             ],
        ],
    ],
];

```

How use
-------

[](#how-use)

```

```

Picture
-------

[](#picture)

[![List](pic/menu_1.png)](pic/menu_1.png)

[![Update or add form](pic/menu_2.png)](pic/menu_2.png)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2444d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10706162?v=4)[quanzo](/maintainers/quanzo)[@quanzo](https://github.com/quanzo)

---

Top Contributors

[![quanzo](https://avatars.githubusercontent.com/u/10706162?v=4)](https://github.com/quanzo "quanzo (5 commits)")

---

Tags

menuyii2yii menu

### Embed Badge

![Health badge](/badges/quanzo-yii2-menu/health.svg)

```
[![Health](https://phpackages.com/badges/quanzo-yii2-menu/health.svg)](https://phpackages.com/packages/quanzo-yii2-menu)
```

###  Alternatives

[extpoint/yii2-megamenu

Configurable site map with auto generate page title, breadcrumbs and navigation

3310.9k](/packages/extpoint-yii2-megamenu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
