Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.5 KB

README.md

File metadata and controls

53 lines (37 loc) · 1.5 KB

Administrator Extension for Yii 2

Latest Stable Version Total Downloads Build Status Dependency Status License

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist yuncms/yuncms-admin

or add

"yuncms/yuncms-admin": "~2.0.0"

to the require section of your composer.json.

Configuring your application

Add following lines to your main configuration file:

'bootstrap' => [
    'yuncms\admin\Bootstrap',
],
'modules' => [
    'admin' => [
        'class' => 'yuncms\admin\Module'   
    ],
],

Updating database schema

After you downloaded and configured Yii2-admin, the last thing you need to do is updating your database schema by applying the migrations:

$ php yii migrate/up 

License

This is released under the MIT License. See the bundled LICENSE.md for details.