alancrisp / zf2twig
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (dev-resolver-reworking) of this package.
Integrates Twig template engine into Zend Framework 2.
dev-resolver-reworking
2013-02-23 23:46 UTC
Requires
- php: >=5.3.0
- twig/twig: 1.*
- zendframework/zendframework: 2.*
This package is not auto-updated.
Last update: 2021-05-16 16:55:30 UTC
README
Integrates Twig template engine into Zend Framework 2.
Installation
Enable ZF2Twig in config/application.config.php to begin using.
Configuration
All configuration for ZF2Twig resides within the zf2twig
configuration key.
'zf2twig' => array( 'default_suffix' => 'twig', // default suffix for twig template files 'environment_options' => array( // any ordinary twig configuration 'cache' => '/path/to/compilation_cache', ), 'extensions' => array( // extension classes, loaded from service manager ), ),