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
Requires
- php: ^8.1
- symfony/config: ^6.4 || ^7.1
- symfony/dependency-injection: ^6.4 || ^7.1
- symfony/error-handler: ^6.4 || ^7.1
- symfony/event-dispatcher: ^6.4 || ^7.1
- symfony/event-dispatcher-contracts: ^2.1 || ^3.0
- symfony/http-foundation: ^6.4 || ^7.1
- symfony/http-kernel: ^6.4 || ^7.1
- symfony/translation: ^6.4 || ^7.1
- symfony/validator: ^6.4 || ^7.1
- symfony/yaml: ^6.4 || ^7.1
- twig/twig: ^3.14
Requires (Dev)
- dev-master / 0.21.x-dev
- 0.20.0
- 0.19.1
- 0.19.0
- 0.18.0
- 0.17.2
- 0.17.1
- 0.17.0
- 0.16.1
- 0.16.0
- 0.15.7
- v0.15.6
- v0.15.5
- v0.15.4
- v0.15.3
- v0.15.2
- v0.15.1
- v0.15.0
- v0.14.1
- v0.14.0
- v0.13.3
- v0.13.2
- v0.13.1
- v0.13.0
- v0.12.0
- v0.11.1
- v0.11.0
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.1
- v0.7.0
- v0.6.9
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.1
- v0.4.0
- v0.3.1
- 0.3.0
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
This package is auto-updated.
Last update: 2024-11-21 11:49:25 UTC
README
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.