cornernote / yii2-dashboard

Create and manage dashboards using custom layouts and panels.
https://cornernote.github.io/yii2-dashboard/
Other
34 stars 10 forks source link

Yii2 Dashboard

Latest Version Software License Build Status HHVM Coverage Status Quality Score Total Downloads Yii2 Framework

Yii2 Dashboard is a module that allows you to create and manage dashboards using custom layouts and panels.

Features

Documentation

Getting started? Try the Installation Guide. You will find further information in the Documentation.

For changes since the last version see the Changelog.

Config

<?php
$config = [
    'modules' => [
        'dashboard' => [
            'class' => 'cornernote\dashboard\Module',
            'layouts' => [
                'default' => 'cornernote\dashboard\layouts\DefaultLayout',
                'example' => 'tests\app\dashboard\layouts\ExampleLayout',
            ],
            'updateRoles' => ['dashboardAdmin'],
            'panels' => [
                'example' => [
                    'class' => 'app\dashboard\panels\ExamplePanel',
                    'allowRules => ['exampleRule'], 
                ],
            ],
            'dashboards' => [
                'dashboard first' => [
                    'viewRoles => ['firstRule'],    
                ],
            ],
        ],
    ],
];

Screenshots

Dashboard View

More images are available from the Screenshots page.

Contributing

Contributions are welcome. Please refer to the contributing guidelines.

Thanks to everyone who has contributed.

Project Resources

License

BSD-3 - Please refer to the license.