Skip to content

librecmscom/yii2-admin

Repository files navigation

Administrator Extension for Yii 2

Latest Stable Version Total Downloads Reference Status Build Status Dependency Status License

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"yuncms/yii2-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.