Download the PHP package rybakit/twig-deferred-extension without Composer
On this page you can find all versions of the php package rybakit/twig-deferred-extension. 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-deferred-extension
Twig Deferred Extension
An extension for Twig that allows to defer block rendering.
Installation
Note that this extension requires Twig 3 or above. If you need support for older versions of Twig, please refer to the legacy repository.
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
The library is released under the MIT License. See the bundled LICENSE file for details.
All versions of twig-deferred-extension with dependencies
PHP Build Version
Package Version
Requires
twig/twig Version
^3.0
The package rybakit/twig-deferred-extension contains the following files
Loading the files please wait ....