Console Bundle is a basic backend system for managing websites. It is a the basic container of a CMS, allowing individual configuration for other bundles to be included. It includes that ability to reuse Styles, Layout, Menu Building and User Management to give clients a way to manage data, or Users.
All the documentation is located in the documentation.
-
Add this bundle to the composer file:
{ "require": { ... "manhattan/console-bundle": "dev-master" } }
-
Add this bundle to your app kernel:
// app/AppKernel.php public function registerBundles() { return array( // ... new Manhattan\Bundle\ConsoleBundle\ManhattanConsoleBundle(), new Ornj\Bundle\MarkdownBundle\OrnjMarkdownBundle(), new Knp\Bundle\PaginatorBundle\KnpPaginatorBundle(), new Knp\Bundle\MarkdownBundle\KnpMarkdownBundle(), new Knp\Bundle\MenuBundle\KnpMenuBundle(), new FOS\UserBundle\FOSUserBundle(), // ... ); }
-
Add the routing to the
config.yml
routing_console_bundle: resource: "@ManhattanConsoleBundle/Resources/config/routing.yml"
-
Under the
imports:
line inapp/config.yml
put the security file for the bundle before thesecurity.yml
line. This will allow application overloading of the bundle security file:- { resource: '@ManhattanConsoleBundle/Resources/config/security.yml' } - { resource: security.yml }