cookyii / module-client
Client management module for Cookyii CMF
Installs: 269
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.5.0
- cookyii/base: dev-master
- cookyii/module-account: dev-master
- rmrevin/yii2-fontawesome: ~2.10
This package is not auto-updated.
Last update: 2024-12-21 18:40:21 UTC
README
Installation
composer require cookyii/module-client:dev-master
Configuration
1. Update config
In backend
app
config
in section modules
add cookyii\modules\Client\backend\Module
and in section bootstrap
add client
:
// ./backend-app/config/app.php return [ // ... 'bootstrap' => [ // some components ... 'client' ], 'modules' => [ // some modules ... 'client' => 'cookyii\modules\Client\backend\Module', ], // ... ];
2. Add new permissions
In rbac/update
command add "merge" class cookyii\modules\Client\backend\Permissions
:
// ./common/commands/RbacCommand.php class RbacCommand extends \rmrevin\yii\rbac\Command { public $backendMerge = [ // ... 'cookyii\modules\Client\backend\Permissions', ]; // ... }
4. Update permissions
./backend rbac/update
5. Execute new migrations
./frontend migrate