cookyii/module-postman
Composer 安装命令:
composer require cookyii/module-postman
包简介
Emails management module for Cookyii CMF
README 文档
README
Installation
composer require cookyii/module-postman:dev-master
Configuration
1. Update config
In backend app config
in section modules add cookyii\modules\Postman\backend\Module
and in section bootstrap add page:
// ./backend-app/config/app.php return [ // ... 'bootstrap' => [ // some components ... 'postman' ], 'modules' => [ // some modules ... 'postman' => 'cookyii\modules\Postman\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 ... 'postman', 'media', ], 'modules' => [ // some modules ... 'postman' => 'cookyii\modules\Postman\backend\Module', 'media' => 'cookyii\modules\Media\backend\Module', ], // ... ];
3. Add new permissions
In rbac/update command add merge class cookyii\modules\Page\backend\Permissions:
// ./common/commands/RbacCommand.php class RbacCommand extends \rmrevin\yii\rbac\Command { public $backendMerge = [ // ... 'cookyii\modules\Postman\backend\Permissions', ]; }
4. Update permissions
./backend rbac/update
5. Execute new migrations
./frontend migrate
统计信息
- 总下载量: 498
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-06-23