Skip to content

qolarnix/Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glacial Template Engine

Simple templating engine for PHP projects.

Get Started

composer require glacial/template

Example Setup

use Glacial\Template\TemplateEngine;

$config = [
    __DIR__ . '/components',
    __DIR__ . '/pages'
];

$template = new TemplateEngine($config);

echo $template->render('header', [
    'title' => 'my title',
]);