Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day ago
JSON representation
yii2 cms
- Host: GitHub
- URL: https://github.com/zacksleo/yii2-cms
- Owner: zacksleo
- Created: 2017-02-12T06:15:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T09:51:36.000Z (about 6 years ago)
- Last Synced: 2024-11-13T14:55:23.374Z (7 days ago)
- Topics: cms, content-management-system, yii2, yii2-cms, yii2-extension
- Language: PHP
- Size: 88.9 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2 cms
[![Latest Stable Version](https://poser.pugx.org/zacksleo/yii2-cms/version)](https://packagist.org/packages/zacksleo/yii2-cms)
[![Total Downloads](https://poser.pugx.org/zacksleo/yii2-cms/downloads)](https://packagist.org/packages/zacksleo/yii2-cms)
[![License](https://poser.pugx.org/zacksleo/yii2-cms/license)](https://packagist.org/packages/zacksleo/yii2-cms)
![](https://styleci.io/repos/81707082/shield?branch=master)
![](https://api.travis-ci.org/zacksleo/yii2-cms.svg?branch=master)
[![Code Climate](https://img.shields.io/codeclimate/github/zacksleo/yii2-cms.svg)]()
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/zacksleo/yii2-cms/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/zacksleo/yii2-cms/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/zacksleo/yii2-cms/badges/coverage.png?b=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/*'
]
]
]```