spiral/stempler

Stempler, HTML markup processor and template engine framework

v2.2.3 2020-04-02 09:21 UTC

README

Latest Stable Version Build Status Codecov

Template engine framework with layered multi-grammar support and AST processing. Supports compile-time template composition, inheritance, context aware escaping, blade directives. Debug tools included with source-map support.

Example

<extends:layouts.parent title="My Page"/>
<use:element path="path/element"/>

<block:content>
    <element label="hello world">{{ $variable }}</element>
</block:content>