oxcom / zend-twig
ZendTwig is a module that integrates the Twig template engine with Zend Framework 3.
Installs: 89 532
Dependents: 0
Suggesters: 0
Security: 0
Stars: 19
Watchers: 7
Forks: 6
Open Issues: 1
Requires
- php: >=7.0
- laminas/laminas-eventmanager: ^3.1
- laminas/laminas-modulemanager: ^2.7
- laminas/laminas-mvc: ^3.0
- laminas/laminas-mvc-plugin-flashmessenger: ^1.0
- laminas/laminas-servicemanager: ^3.2
- laminas/laminas-view: ^2.8
- twig/twig: ^2.12|^3.4.3
Requires (Dev)
- laminas/laminas-i18n: ^2.7
- laminas/laminas-mvc-i18n: ^1.0
- laminas/laminas-navigation: ^2.8
- laminas/laminas-server: ^2.7
- laminas/laminas-test: ^3.0
- phpunit/phpunit: ^6.5.13|^7.5.20
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-10-20 08:27:55 UTC
README
ZendTwig is a module that integrates the Twig template engine with Zend Framework 3 / Laminas Project.
Notes
- From release v1.0.0 this project depends on Laminas Project components.
- Development of package udner PHP5.6 has low priority and will be discontinued in closest feature.
Install
- Add ZendTwig lib with composer:
composer require oxcom/zend-twig
- Add ZendTwig to Your
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', ],
Setting up
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:
Bugs and Issues
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.