One language
Parameters, types, blocks, conditions, and repeaters live beside HTML and behave consistently in PHP, the CLI, and the editor.
A typed DSL, safe HTML rendering, PHP API, CLI, and local-first browser editor in one monorepo.
@template "Campaign" version=1
@section content "Content"
@param title String = "New campaign" required
@param body Markdown = "Start with an **idea**."
@param destination Url = "https://trafficops.io"
@endsection
@layout
<main>
<h1>{{title}}</h1>
<div>{{& body}}</div>
<a href="{{destination}}">Continue</a>
</main>
@endlayoutSave it as index.tpl, then open it in Template Studio or generate the page with the CLI:
npx @trafficops/cli --template ./index.tpl --output ./generatedWhere to go next
Build your first template, then choose your integration path: PHP and Laravel, CLI and Template Studio, or agent skills.