zacksleo / yii2-cms
yii2 cms module
Installs: 2 724
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- creocoder/yii2-taggable: ^2.0
- kartik-v/yii2-tree-manager: ^1.0
- kucha/ueditor: ^1.2
- nemmo/yii2-attachments: ^1.0.0-beta.3
- pheme/yii2-settings: ^0.6
Requires (Dev)
- phpunit/phpunit: ~4.4
README
Quick Start
install by composer
composer require zacksleo/yii2-cms
migration
yii migrate/up --migrationPath=@vendor/zacksleo/yii2-cms/migrations
component
'component'=>[
'user' => [
'identityClass' => 'zacksleo\yii2\backend\models\Admin',
'enableAutoLogin' => true,
'loginUrl' => ['site/login'],
'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true, 'path' => '/admin'],
],
'cache' => [
'class' => 'yii\caching\ApcCache',
'useApcu' => true,
],
'settings' => [
'class' => 'pheme\settings\components\Settings',
],
'plugin' => [
'class' => 'zacksleo\yii2\plugin\components.HookRender'
],
'authManager' => [
'class' => 'yii\rbac\PhpManager',
],
'as access' => [
'class' => 'mdm\admin\components\AccessControl',
'allowActions' => [
'admin/*'
]
]
]