Download the PHP package phive/twig-extensions-deferred without Composer
On this page you can find all versions of the php package phive/twig-extensions-deferred. 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-extensions-deferred
Twig Deferred Extension
An extension for Twig 2 that allows to defer block rendering.
If you are looking for support for Twig 3+, check out this repository.
Installation
The recommended way to install the extension is through Composer:
Initialization
Simple example
The foo
block will output "bar".
Advanced example
Just for example purposes, first create a global twig variable:
Then build the following set of templates:
The resulting html will be the following:
Block overriding
License
Deferred Twig Extension is released under the MIT License. See the bundled LICENSE file for details.
All versions of twig-extensions-deferred with dependencies
PHP Build Version
Package Version
Requires
twig/twig Version
^2.8
The package phive/twig-extensions-deferred contains the following files
Loading the files please wait ....