runroom-packages/render-event-bundle

Add a render event before rendering templates

Installs: 12 201

Dependents: 4

Suggesters: 0

Security: 0

Stars: 1

Watchers: 5

Forks: 0

Type:symfony-bundle

0.9.3 2020-11-16 08:25 UTC

README

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

This bundle wraps the twig render to allow modifications of the parameters passed to it using the event dispatcher.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require runroom-packages/render-event-bundle

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Runroom\RenderEventBundle\RunroomRenderEventBundle::class => ['all' => true],
];

License

This bundle is under the MIT license.