PanelAdminBundle
This Repository is UNDER DEVELOPMENT, it's not recommended to use it, (*1)
PanelAdminBundle integrates a Admin Panel template in your Symfony Project and provide adapted CRUD generator., (*2)
Installation
Add the bundle to the composer.json
of your project:, (*3)
{
"require": {
"greibit/panel-admin-bundle": "dev-master"
}
}
Enable the bundle in the AppKernel.php
of your Symfony project:, (*4)
// 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:, (*5)
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, (*6)
``` twig, (*7)
{% extends 'GreibitPanelAdminBundle::layout.html.twig' %}
{% block page %} {% endblock %}, (*8)
```, (*9)
Dependencies
, (*10)