fonclub/yii2-menu

Menu module for Yii2

Maintainers

Details

github.com/fonclub/yii2-menu

Source

Installs: 32

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 3

Type:yii2-extension

dev-master 2015-02-24 14:40 UTC

This package is auto-updated.

Last update: 2024-10-23 03:23:21 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require fonclub/yii2-menu "*"

or add

"fonclub/yii2-menu": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

'modules' => [
    ...
    'menu' => [
        'class' => 'fonclub\menu\Module',
    ],
],

Import the translations and use category 'fonclub/menu':

yii i18n/import @fonclub/menu/messages

To use the module, execute yii migration

yii migrate/up --migrationPath=@vendor/fonclub/yii2-menu/migrations