substitute/substitute

String replacement based template engine

Installs: 51

Dependents: 0

Watchers: 1

Forks: 1

Open Issues: 1

Language: PHP

v1.1 2014-12-09 20:08 UTC

README

String replacement based templating engine

Build Status

Usage

$template = new \substitute\Template("Hi {name}, your activation code is {code}.")
$message = $template->render(array('name' => 'John', 'code' => '1234')); // Hi John, your activation code is 1234.