ZendTwig is a module that integrates the Twig template engine with Zend Framework 3 / Laminas Project.
composer require oxcom/zend-twig
config/application.config.php
file as module:
// Retrieve list of modules used in this application.
'modules' => [
'Zend\Router',
'Zend\Validator',
'Zend\I18n',
'Zend\Mvc\I18n',
'Application',
// ...
'ZendTwig',
],
Here You can find some examples, configurations and e.t.c. that, I hope, will help You do build Your application. Short list of available docs:
Please, if You found a bug or something, that is not working properly, contact me and tell what's wrong. It's nice to have an example how to reproduce a bug, or any idea how to fix it in Your request. I'll take care about it ASAP.