greibit/panel-admin-bundle

GreibitPanelAdminBundle provide base templates for admin panels in Symfony

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2014-03-25 16:30 UTC

This package is not auto-updated.

Last update: 2024-04-27 13:59:28 UTC


README

This Repository is UNDER DEVELOPMENT, it's not recommended to use it

PanelAdminBundle integrates a Admin Panel template in your Symfony Project and provide adapted CRUD generator.

Installation

Add the bundle to the composer.json of your project:

{
   "require": {
        "greibit/panel-admin-bundle": "dev-master"
    }
}

Enable the bundle in the AppKernel.php of your Symfony project:

// app/AppKernel.php
//...
class AppKernel extends Kernel
{
    //...
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Greibit\Bundle\PanelAdminBundle\GreibitPanelAdminBundle()
        );
        //...

        return $bundles;
    }
    //...
}

Configuration

Add configuration to your config.yml:

greibit_panel_admin:
    menu_builder: "AcmeDemoBundle:Builder:sidebarMenu"
    panel_title: "Greibit Administration"

Use it!

To use the Admin Panel proposed by Greibit just extends your twig templates with the GreibitPanelAdmin layout and use the page block

{% extends 'GreibitPanelAdminBundle::layout.html.twig' %}
{% block page %} {% endblock %}

Dependencies

  • KnpMenuBundle

Bitdeli Badge