2017 © Pedro Peláez
 

yii2-extension cmyii

CMYii - is CMS admin system based on Yii Framework 2

image

paulzi/cmyii

CMYii - is CMS admin system based on Yii Framework 2

  • Thursday, May 31, 2018
  • by PaulZi
  • Repository
  • 2 Watchers
  • 1 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 53 % Grown

The README.md

CMYii CMS

CMYii - is CMS admin system based on Yii Framework 2., (*1)

CMYii provides only a framework for management with data, you need to implement the data blocks yourself., (*2)

This module provides the admin system itself., (*3)

Install

composer require paulzi/cmyii

Usage

Apply migrations

Apply migrations in migrations folder. To do this, use one of the following methods:, (*4)

1) Add paulzi\cmyii\migrations namespace to your console app:, (*5)

return [
    'controllerMap' => [
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => null,
            'migrationNamespaces' => [
                'console\migrations',
                'paulzi\cmyii\migrations',
            ],
        ],
    ],
]

2) Run command:, (*6)

./yii migrate --migrationPath= --migrationNamespaces=paulzi\cmyii\migrations

Specify in the configs of the application:, (*7)

return [
    'bootstrap' => ['cmyii'],
    'modules' => [
        'cmyii' => [
            'class' => 'paulzi\cmyii\Cmyii',
        ],
        'admin' => [
            'class' => 'paulzi\cmyii\admin\CmyiiAdmin',
            'adminBlocks' => [
                'common\cmyii\text\TextAdminWidget',
            ],
        ],
    ],
];

Add area in layout

Add Area widgets in your layout:, (*8)

<?= \paulzi\cmyii\widgets\Area::widget(['id' => 'main']) ?>

Configure RBAC

Configure RBAC and add admin role., (*9)

Implement block widget

See in example folder for text block widget sample., (*10)

Add your first layout and site (example domains: http?://*)., (*11)

Include widget in adminBlocks section of config module., (*12)

Go to admin

Follow to URL http://yourdomain/admin/ and add block on page., (*13)

Documentation

To do, (*14)

The Versions

31/05 2018

dev-master

9999999-dev

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii

31/05 2018

v0.1.4

0.1.4.0

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii

25/12 2017

v0.1.3

0.1.3.0

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii

25/12 2017

v0.1.2

0.1.2.0

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii

25/12 2017

v0.1.1

0.1.1.0

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii

25/12 2017

v0.1.0

0.1.0.0

CMYii - is CMS admin system based on Yii Framework 2

  Sources   Download

MIT

The Requires

 

cmyii