Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornernote/yii2-menu
Menu manager for Yii2
https://github.com/cornernote/yii2-menu
Last synced: about 2 months ago
JSON representation
Menu manager for Yii2
- Host: GitHub
- URL: https://github.com/cornernote/yii2-menu
- Owner: cornernote
- License: other
- Created: 2015-06-19T08:10:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-03T13:26:53.000Z (over 9 years ago)
- Last Synced: 2024-10-15T14:29:48.799Z (3 months ago)
- Language: PHP
- Size: 191 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Yii2 Menu
[![Latest Version](https://img.shields.io/github/tag/cornernote/yii2-menu.svg?style=flat-square&label=release)](https://github.com/cornernote/yii2-menu/tags)
[![Software License](https://img.shields.io/badge/license-BSD-brightgreen.svg?style=flat-square)](LICENSE.md)
[![Build Status](https://img.shields.io/travis/cornernote/yii2-menu/master.svg?style=flat-square)](https://travis-ci.org/cornernote/yii2-menu)
[![Coverage Status](https://img.shields.io/scrutinizer/coverage/g/cornernote/yii2-menu.svg?style=flat-square)](https://scrutinizer-ci.com/g/cornernote/yii2-menu/code-structure)
[![Quality Score](https://img.shields.io/scrutinizer/g/cornernote/yii2-menu.svg?style=flat-square)](https://scrutinizer-ci.com/g/cornernote/yii2-menu)
[![Total Downloads](https://img.shields.io/packagist/dt/cornernote/yii2-menu.svg?style=flat-square)](https://packagist.org/packages/cornernote/yii2-menu)Menu manager for Yii2.
## Installation
### 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
Add following to your main configuration file:
```
'modules' => [
'menu' => [
'class' => 'cornernote\menu\Module',
],
],
```### 3. Create Tables
Update your database schema by applying the migrations:
```
yii migrate/up --migrationPath=@vendor/cornernote/yii2-menu/src/migrations
```## Manage Menus
Open a browser and go to `example.com/?r=menu` to start managing your menu system.