Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/