Create and manage dashboards using custom layouts and panels.
Switch branches/tags
Clone or download
cornernote Merge pull request #10 from uldisn/master
If no access, show empty dashboard
Latest commit b87dc4a Nov 30, 2017
Permalink
Failed to load latest commit information.
src If no access, show empty dashboard Nov 26, 2017
tests fix console config Jul 16, 2015
.gitattributes Revert "Update .gitattributes" Jun 17, 2017
.gitignore
.scrutinizer.yml
.travis.yml
CHANGELOG.md
CONTRIBUTING.md added base documentation Jul 6, 2015
CREDITS.md
LICENSE.md added base documentation Jul 6, 2015
Procfile added heroku Jul 15, 2015
README.md
composer.json Update composer.json Jul 16, 2015
composer.lock
heroku.md move heroku docs to own file Jul 15, 2015

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.