symfony-bundle dashboard-bundle
Provides a configurable administration menu and dashboard with customizable widgets.
zenstruck/dashboard-bundle
Provides a configurable administration menu and dashboard with customizable widgets.
- Monday, October 19, 2015
- by kbond
- Repository
- 1 Watchers
- 3 Stars
- 561 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 2 Versions
- 6 % Grown
ZenstruckDashboardBundle
Provides a configurable administration menu and dashboard with customizable widgets., (*1)
[][2], (*2)
[View Example Source Code][2], (*3)
Installation
-
Add to your composer.json
:, (*4)
{
"require": {
"zenstruck/dashboard-bundle": "*"
}
}
-
Register the bundle with Symfony2:, (*5)
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Zenstruck\Bundle\DashboardBundle\ZenstruckDashboardBundle(),
);
// ...
}
Full Default Config
zenstruck_dashboard:
user_service: false
title: Administration
theme: ZenstruckDashboardBundle:Bootstrap2
theme_options: []
dashboard_template: ~
layout: ~
menu_service: ~
widgets:
# Prototype
name:
title: ~
content: ~ # Required
# route, controller, template
content_type: controller
# embed, hinclude, esi, ajax
include_type: embed
group: ~
role: ~
params: []
menu:
# Prototype
name:
label: ~
group: primary
icon: ~
nested: true
items:
# Prototype
name:
label: ~
uri: ~
route: ~
routeParameters: ~
role: ~
icon: ~