Skip to content
Templex

Templex Documentation

Templex is a lightweight, regex-based template rendering engine for PHP that allows you to create dynamic content using simple template syntax. No eval(), no PHP includes — just fast, safe regex processing.

  • README — installation and quick start
  • Templates — template syntax, file types, directories, caching, and safety
  • Slots — includes, conditions, loops, switch statements, ternary/null coalescing, variables, and custom slots