Skip to content

[READ-ONLY] Add a event dispatch before rendering templates

License

Notifications You must be signed in to change notification settings

Runroom/RunroomRenderEventBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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],
];

Contribute

The sources of this package are contained in the Runroom monorepo. We welcome contributions for this package on runroom/runroom-packages.

License

This bundle is under the MIT license.