https://github.com/zacksleo/yii2-cms
yii2 cms
https://github.com/zacksleo/yii2-cms
cms content-management-system yii2 yii2-cms yii2-extension
Last synced: 4 months ago
JSON representation
yii2 cms
- Host: GitHub
- URL: https://github.com/zacksleo/yii2-cms
- Owner: zacksleo
- Created: 2017-02-12T06:15:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T09:51:36.000Z (over 7 years ago)
- Last Synced: 2025-03-13T16:40:14.828Z (over 1 year ago)
- Topics: cms, content-management-system, yii2, yii2-cms, yii2-extension
- Language: PHP
- Size: 88.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2 cms
[](https://packagist.org/packages/zacksleo/yii2-cms)
[](https://packagist.org/packages/zacksleo/yii2-cms)
[](https://packagist.org/packages/zacksleo/yii2-cms)


[]()
[](https://scrutinizer-ci.com/g/zacksleo/yii2-cms/?branch=master)
[](https://scrutinizer-ci.com/g/zacksleo/yii2-cms/?branch=master)
## 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/*'
]
]
]
```