runroom-packages/render-event-bundle

Add a render event before rendering templates

Installs: 60 597

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 6

Forks: 0

Type:symfony-bundle


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

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.