runroom-packages/render-event-bundle

Add a render event before rendering templates


Keywords
symfony, twig, event, render, event-dispatcher, php, symfony-bundle
License
MIT

Documentation

RunroomRenderEventBundle

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.