zenstruck/dashboard-bundle

Provides a configurable administration menu and dashboard with customizable widgets.

Installs: 381

Dependents: 1

Stars: 2

Watchers: 2

Forks: 2

Language: PHP

v0.1.0 2013-12-11 15:23 UTC

README

Provides a configurable administration menu and dashboard with customizable widgets.

Screenshot

View Demo

Installation

  1. Add to your composer.json:

    {
        "require": {
            "zenstruck/dashboard-bundle": "*"
        }
    }
  2. Register the bundle with Symfony2:

    // 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:                 ~