Twig for MODX 3.X

Use Twig template syntax in your MODX site

Creator: Peter Bowyer (pbowyer)

Need help installing this extra?

About Twig for MODX 3.X

Use Twig template syntax inside MODX 3.

Write conditionals, loops, and filters directly in your templates and chunks, enhancing your creative freedom.

Works alongside the standard MODX parser and pdoTools. Includes ContentBlocks support, auto-escaping for XSS prevention, and helper functions for chunks, snippets, links, settings, and lexicon strings.

Information

Released
March 17, 2026

Supported Database
MySQL, SQL Server

License
MIT

Supported Versions
3.1 - Current

Downloads
20

Documentation
Twig for MODX 3.X Documentation

Instructions

See the documentation for instructions.

New in 0.6.0-pl

Fix pdoTools and Fenom integration.

Current releases

0.6.0-pl
View | Download
March 17, 2026
3.1 - Current