sly/francois-bundle

HééHééééh...

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 7

Watchers: 3

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2014-02-19 14:14 UTC

This package is not auto-updated.

Last update: 2024-04-13 12:22:24 UTC


README

Work (and inspiration) in progress.

=====

Installation

Add this into your composer.json:

    "require-dev": {
        // ...
        "sly/francois-bundle" : "dev-master"
    },

And run php composer.phar update sly/francois-bundle.

Register the bundle in your AppKernel (app/AppKernel.php), only for dev environment (of course...).

    // ...
    if (in_array($this->getEnvironment(), array('dev', 'test'))) {
        // ...
        $bundles[] = new Sly\FrancoisBundle\SlyFrancoisBundle();
    }

Finally, override some dev views with adding it into your composer.json file (a sexy command-way will be implemented soon):

    // ...
    "scripts": {
        "post-install-cmd": [
            // ...
            "ln -sf ../../vendor/sly/francois-bundle/Sly/FrancoisBundle/Resources/TwigBundle app/Resources/TwigBundle"
        ],
        "post-update-cmd": [
            // ...
            "ln -sf ../../vendor/sly/francois-bundle/Sly/FrancoisBundle/Resources/TwigBundle app/Resources/TwigBundle"
        ]
    },
    // ...

Configuration reference

sly_francois:
    twig:
        exception:
            video: true

=====

  • Hey dude, it's just for fun.