fonclub/yii2-menu
Composer 安装命令:
composer require fonclub/yii2-menu
包简介
Menu module for Yii2
关键字:
README 文档
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
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-24