mcstreetguy / tempearly
A tiny PHP templating engine.
Installs: 176
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mcstreetguy/tempearly
README
A tiny PHP templating engine.
Visit the full documentation for a detailed explanation.
Installation
$ composer require mcstreetguy/tempearly
Usage
$engine = new MCStreetguy\Tempearly('path/to/templates','.tpl.html');
$engine->parse('login-template-1',array( 'my-variable' => 'Hello World!', 'another-variable' => true ));