Download the PHP package sgomez/simplesamlphp-module-twig without Composer
On this page you can find all versions of the php package sgomez/simplesamlphp-module-twig. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sgomez/simplesamlphp-module-twig
More information about sgomez/simplesamlphp-module-twig
Files in sgomez/simplesamlphp-module-twig
Package simplesamlphp-module-twig
Short Description A SimpleSAMLphp module adding support for the Twig template library.
License MIT
Informations about the package simplesamlphp-module-twig
SimpleSAMLphp Composer Twig module
This package add support for the twig template library through a SimpleSAMLphp module installable through Composer. Installation can be as easy as executing:
Using templates
This module search in all active modules this directory structure: and create a namespace for each module that has one.
Render a template is as easy as this:
Using translations
This module uses the symfony/translation library to search translations files in yml format on the next directory: .
The filename must have the next format: modulename.locale.yml
Twig and translations
This bundle uses the Symfony Twig Extension on twig-bridge library. So basically you can use the same filters and blocks than Symfony.
All versions of simplesamlphp-module-twig with dependencies
simplesamlphp/composer-module-installer Version ~1.0
symfony/finder Version ~2.3|~3.0
symfony/translation Version ~2.3|~3.0
symfony/yaml Version ~2.3|~3.0
twig/twig Version ~1.24|~2.0
symfony/twig-bridge Version ~2.3|~3.0