Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/contao-community-alliance/twig
Twig integration for Contao.
https://github.com/contao-community-alliance/twig
Last synced: about 1 month ago
JSON representation
Twig integration for Contao.
- Host: GitHub
- URL: https://github.com/contao-community-alliance/twig
- Owner: contao-community-alliance
- Created: 2012-07-29T15:56:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T14:11:48.000Z (about 8 years ago)
- Last Synced: 2024-11-11T01:49:57.279Z (about 2 months ago)
- Language: PHP
- Size: 161 KB
- Stars: 2
- Watchers: 6
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Twig integration for Contao
===========================This module provide twig support for Contao.
To use twig instead of the contao engine, just use the `TwigFrontendTemplate` or `TwigBackendTemplate` class.For content elements, you can use the `TwigContentElement` class,
and for modules the `TwigModule` class. These basic classes allready uses the Twig*Template classes.You have to suffix your templates with `.twig`, look at the examples in the `templates` directory.
Dependencies
------------* Twig http://twig.sensiolabs.org/