Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 543 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 543 Bytes

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