Twig integration for Contao OpenSource CMS

1.12.1 2016-11-18 14:11 UTC

This package is auto-updated.

Last update: 2024-06-06 08:37:23 UTC


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.