Templum

{{"Simple PHP Templating"}}

About

Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.

Features

Templum's template syntax has the following features:

Example

The following example shows most of Templum's custom syntax. You can also view its output.

View more examples