Download the PHP package intaro/twig-injection-bundle without Composer
On this page you can find all versions of the php package intaro/twig-injection-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package twig-injection-bundle
TwigInjectionBundle
The TwigInjectionBundle allows to inject twig templates through the event behavior.
Installation
TwigInjectionBundle requires Symfony 3.4 or higher.
Require the bundle in your composer.json
file:
Register the bundle in AppKernel
:
Install the bundle:
Usage
1) Add {{ inject() }}
calling in template:
2) Prepare controller action which you want to render or template which you want to include.
3) Define Listener which will inject include
or render
calling:
4) Register the listener:
All versions of twig-injection-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
symfony/framework-bundle Version ^4.4|^5.0|^6.0
symfony/twig-bridge Version ^4.4|^5.0|^6.0
symfony/twig-bundle Version ^4.4|^5.0|^6.0
symfony/http-kernel Version ^4.4|^5.0|^6.0
symfony/event-dispatcher Version ^4.4|^5.0|^6.0
symfony/yaml Version ^4.4|^5.4|^6.0
symfony/framework-bundle Version ^4.4|^5.0|^6.0
symfony/twig-bridge Version ^4.4|^5.0|^6.0
symfony/twig-bundle Version ^4.4|^5.0|^6.0
symfony/http-kernel Version ^4.4|^5.0|^6.0
symfony/event-dispatcher Version ^4.4|^5.0|^6.0
symfony/yaml Version ^4.4|^5.4|^6.0
The package intaro/twig-injection-bundle contains the following files
Loading the files please wait ....