Installation

Download DwooBundle

Tell composer to add the bundle to your composer.json by running the command:

$ php composer.phar require dwoo/symfony-bundle

Composer will install the bundle to your project’s vendor/dwoo/symfony-bundle directory.

Enable the bundle

Enable the bundle in the kernel:

app/AppKernel.php
<?php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Dwoo\SymfonyBundle\DwooBundle(),
    );
}

Enable the Dwoo template engine in the config

app/config/config.yml
# ...
framework:
    templating:
        engines: ['twig', 'php', 'dwoo']

You need to enable the php engine as well. Otherwise some services will not work as expected