01
Write markup
Use variables, includes, conditions, loops, and blocks directly in trusted HTML templates.
Read the syntaxPHP TEMPLATE TOOLKIT
Compile familiar HTML tags into fast PHP cache files, with versioned assets and optional Redis or database metadata.
template/home.html<h1>Hello {$name}</h1>
<link href="{loadcss app.css}">
<!--{if $signedIn}-->
<p>Welcome back.</p>
<!--{/if}-->THE WORKFLOW
01
Use variables, includes, conditions, loops, and blocks directly in trusted HTML templates.
Read the syntax02
Generate cache-aware CSS, JavaScript, and static paths without hand-managed query strings.
Handle assets03
Keep metadata on disk or move it to Redis, PostgreSQL, or MySQL as your deployment requires.
Configure backendsSTART SMALL
Switch to Redis or a relational backend only when you need shared cache metadata.