ninejkh/tpl

A simple template engine

Installs: 263

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 2

Open Issues: 0

pkg:composer/ninejkh/tpl

0.3.0 2018-11-10 14:46 UTC

This package is not auto-updated.

Last update: 2025-10-08 20:37:20 UTC


README

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.