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.
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;
}
//...
}Add configuration to your config.yml:
greibit_panel_admin:
menu_builder: "AcmeDemoBundle:Builder:sidebarMenu"
panel_title: "Greibit Administration"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 %}
- KnpMenuBundle
