Skip to content

NINEJKH/php-tpl

Repository files navigation

Build Status Scrutinizer Code Quality Coverage Status Latest Stable Version Packagist Latest Unstable Version License

ninejkh/tpl

A really really simple template engine, if you think PHP is good enough at doing exactly that. No compiled or cached state, pure PHP.

Install

$ composer require ninejkh/tpl

Usage

<?php

require 'vendor/autoload.php';

use NINEJKH\Tpl\Tpl;

$tpl = new Tpl('tpl/');
$tpl->assign('foo', 'bar');
$tpl->display('home');

License

Licensed under the MIT License. See the LICENSE file for details.

Author Information

9JKH (Pty) Ltd.

About

A simple PHP template engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published