manhattan/console-bundle

Easy integration of console system for Manhattan Console in Symfony2

Installs: 921

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 1

Open Issues: 0

Type:symfony-bundle

v1.0.0 2013-10-03 11:19 UTC

This package is auto-updated.

Last update: 2024-11-26 22:45:18 UTC


README

Build Status

What

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.

Documentation

All the documentation is located in the documentation.

Installing

  1. Add this bundle to the composer file:

     {
         "require": {
             ...
             "manhattan/console-bundle": "dev-master"
         }
     }
    
  2. 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(),
             // ...
         );
     }
    
  3. Add the routing to the config.yml routing

     _console_bundle:
     resource: "@ManhattanConsoleBundle/Resources/config/routing.yml"
    
  4. Under the imports: line in app/config.yml put the security file for the bundle before the security.yml line. This will allow application overloading of the bundle security file:

     - { resource: '@ManhattanConsoleBundle/Resources/config/security.yml' }
     - { resource: security.yml }