2017 © Pedro Peláez
 

library content-bundle

Symfony GlavwebContentBundle.

image

glavweb/content-bundle

Symfony GlavwebContentBundle.

  • Friday, April 20, 2018
  • by nilov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Installation

Get the bundle using composer

Add GlavwebContentBundle by running this command from the terminal at the root of your Symfony project:, (*1)

php composer.phar require glavweb/content-bundle

Enable the bundle

To start using the bundle, register the bundle in your application's kernel class:, (*2)

// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Glavweb\ContentBundle\GlavwebContentBundle(),
        // ...
    );
}

Configure the bundle

This bundle was designed to just work out of the box. The only thing you have to enable the dynamic routes, add the following to your routing configuration file., (*3)

#  app/config/routing.yml

glavweb_content_block:
    resource: "@GlavwebContentBundle/Resources/config/routing.yml"

The Versions