Download using composer by running the following command:
$ composer require --prefer-dist cornernote/yii2-dashboard "*"
Or add a require
line to your composer.json
:
{
"require": {
"cornernote/yii2-dashboard": "*"
}
}
Run the migrations from the migrations
folder to create the relevant tables:
$ php yii migrate --migrationPath=@cornernote/dashboard/migrations
Add Dashboard
to your configuration array:
<?php
$config = [
'modules' => [
'dashboard' => 'cornernote\dashboard\Module',
],
];
See Module Configuration for the all configuration options and advanced usage information.
Check out the other Documentation