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

1.3.9 2018-08-09 12:07 UTC

This package is auto-updated.

Last update: 2024-11-08 07:44:38 UTC


README

Latest Stable Version Total Downloads License Code Climate Scrutinizer Code Quality Code Coverage

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/*'
        ]
    ]
]