README
PHP项目简单模板引擎。
开始使用
composer require glacial/template
示例设置
use Glacial\Template\TemplateEngine;
$config = [
__DIR__ . '/components',
__DIR__ . '/pages'
];
$template = new TemplateEngine($config);
echo $template->render('header', [
'title' => 'my title',
]);