A simple template engine
0.3.0 2018-11-10 14:46 UTC
A really really simple template engine, if you think PHP is good enough at doing exactly that. No compiled or cached state, pure PHP.
$ composer require ninejkh/tpl
<?php require 'vendor/autoload.php'; use NINEJKH\Tpl\Tpl; $tpl = new Tpl('tpl/'); $tpl->assign('foo', 'bar'); $tpl->display('home');
Licensed under the MIT License. See the LICENSE file for details.