PHPackages                             cornernote/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. cornernote/yii2-menu

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

cornernote/yii2-menu
====================

Menu manager for Yii2.

116711PHP

Since Jul 3Pushed 10y ago2 watchersCompare

[ Source](https://github.com/cornernote/yii2-menu)[ Packagist](https://packagist.org/packages/cornernote/yii2-menu)[ RSS](/packages/cornernote-yii2-menu/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

Yii2 Menu
=========

[](#yii2-menu)

[![Latest Version](https://camo.githubusercontent.com/aef5d2410ead7558454ccc5edfcc1b11de8635fffd0ed7e62bfe4f0db9f8ec02/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f636f726e65726e6f74652f796969322d6d656e752e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://github.com/cornernote/yii2-menu/tags)[![Software License](https://camo.githubusercontent.com/b60331a2084501dc07cf6d6964c0da58dd005d89c45cf3b28b4b22b60f5ec00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/1f7b9e28f9d28e228729b761a3a71a25b541a79b11aa1278bdc7e16f12b5e499/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f726e65726e6f74652f796969322d6d656e752f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cornernote/yii2-menu)[![Coverage Status](https://camo.githubusercontent.com/11aa0217419bc85d73319448ac7001e0d67bb0e44e6a4bbb06a0f326501ccbf1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f636f726e65726e6f74652f796969322d6d656e752e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cornernote/yii2-menu/code-structure)[![Quality Score](https://camo.githubusercontent.com/8b4b6b806301798e6832975e4e1364e388f52e621be0a2a372db9bd9ea4694df/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636f726e65726e6f74652f796969322d6d656e752e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cornernote/yii2-menu)[![Total Downloads](https://camo.githubusercontent.com/304ff72e04c197bc25a2fb4b43da8131b2a7862498d3d0453d8360a648343652/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f726e65726e6f74652f796969322d6d656e752e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cornernote/yii2-menu)

Menu manager for Yii2.

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

[](#installation)

### 1. Download

[](#1-download)

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

Either run

```
$ composer require cornernote/yii2-menu "*"

```

or add

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

```

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

### 2. Configure

[](#2-configure)

Add following to your main configuration file:

```
'modules' => [
    'menu' => [
        'class' => 'cornernote\menu\Module',
    ],
],

```

### 3. Create Tables

[](#3-create-tables)

Update your database schema by applying the migrations:

```
yii migrate/up --migrationPath=@vendor/cornernote/yii2-menu/src/migrations

```

Manage Menus
------------

[](#manage-menus)

Open a browser and go to `example.com/?r=menu` to start managing your menu system.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/07c84a589344489e8195ec1c6afcfa3abcc23a73092ceaa4ca60da96355c4d16?d=identicon)[cornernote](/maintainers/cornernote)

---

Top Contributors

[![cornernote](https://avatars.githubusercontent.com/u/51875?v=4)](https://github.com/cornernote "cornernote (21 commits)")

### Embed Badge

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

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

###  Alternatives

[aimeos/macro

Customize classes using closures

2.3k131.7k5](/packages/aimeos-macro)[nodejs-php-fallback/stylus

PHP wrapper to execute stylus node package or fallback to a PHP alternative

11135.5k4](/packages/nodejs-php-fallback-stylus)[cityofzion/neo-php

NEO blockchain implementation for PHP

152.0k](/packages/cityofzion-neo-php)[miraheze/rotten-links

A MediaWiki extension to show the state of all external links on the wiki.

101.5k](/packages/miraheze-rotten-links)

PHPackages © 2026

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