cookyii/module-postman 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-06-23