Create and manage dashboards using custom layouts and panels.
PHP JavaScript CSS
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitattributes
.gitignore
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
CREDITS.md
LICENSE.md
Procfile
README.md
composer.json
composer.lock
heroku.md

README.md

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

  • Create custom layouts with regions where panels can be placed.
  • Create custom panels to display your data inside a layout region.
  • Drag-and-drop interface to rearrange panels inside a layout.

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.