cookyii/module-feed
Composer 安装命令:
composer require cookyii/module-feed
包简介
Module for organization feeds for Cookyii CMF
README 文档
README
Installation
composer require cookyii/module-feed:dev-master
Configuration
1. Update config
In backend app config
in section modules add cookyii\modules\Feed\backend\Module
and in section bootstrap add feed:
// ./backend-app/config/app.php return [ // ... 'bootstrap' => [ // some components ... 'feed' ], 'modules' => [ // some modules ... 'feed' => 'cookyii\modules\Feed\backend\Module', ], // ... ];
2. Dependencies
Also, you need to configure the following modules (they are already downloaded):
// ./backend-app/config/app.php return [ // ... 'bootstrap' => [ // some components ... 'feed', 'media'', ], 'modules' => [ // some modules ... 'feed' => 'cookyii\modules\Feed\backend\Module', 'media' => 'cookyii\modules\Media\backend\Module', ], // ... ];
3. Add new permissions
In rbac/update command add "merge" class cookyii\modules\Feed\backend\Permissions:
// ./common/commands/RbacCommand.php class RbacCommand extends \rmrevin\yii\rbac\Command { public $backendMerge = [ // ... 'cookyii\modules\Feed\backend\Permissions', ]; // ... }
4. Update permissions
./backend rbac/update
5. Execute new migrations
./frontend migrate
统计信息
- 总下载量: 306
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-06-26