killoblanco/template-manager-bundle

Symfony Template Manager Bundle

Installs: 648

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:HTML

Type:symfony-bundle

dev-develop 2016-11-30 17:02 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:36:40 UTC


README

Instalation

To install it just add the followin line into your AppKernel file and run composer update

# app/AppKernel.php

...
new killoblanco\TemplateManagerBundle\TemplateManagerBundle(),
...    

Once the AppKernel file is edited we need to get able the bundle's routes, so adding this on your routing.yml file you can do it.

...
template_manager:
    resource: "@TemplateManagerBundle/controller/"
    type:     annotation
    prefix: /
...

An important thing is that we use the symfony's serializer component. If you have it already enabled in your config file you can pass by. Otherwise to enable it you can uncommet the line in your own config file.

# app/config/config.yml
framework:
    # ...
    serializer: { enable_annotations: true }

Finally you only need to update your database by running the Symfony database update command

php app/console doctrine:schema:update --force

Usage

Controlls

The controls are defined and guied followin the HTML 5 standars and so including basic bootstrap implementation.