bit3/contao-twig

This package is abandoned and no longer maintained. The author suggests using the contao-community-alliance/contao-twig package instead.

Twig integration for Contao OpenSource CMS

Installs: 4 362

Dependents: 10

Watches: 1

Forks: 4

Language: PHP

1.11 2014-09-19 09:20 UTC

README

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