mcstreetguy/tempearly

This package is abandoned and no longer maintained. No replacement package was suggested.

A tiny PHP templating engine.

v0.4.2 2018-01-20 00:00 UTC

This package is auto-updated.

Last update: 2022-01-06 04:18:25 UTC


README

Packagist Packagist GitHub tag Packagist GitHub issues GitHub pull requests GitHub last commit GitHub repo size in bytes GitHub code size in bytes Documentation Status

A tiny PHP templating engine.

Visit the full documentation for a detailed explanation.

Installation

$ composer require mcstreetguy/tempearly

Usage

$engine = new MCStreetguy\Tempearly('path/to/templates','.tpl.html');
$engine->parse('login-template-1',array(
  'my-variable' => 'Hello World!',
  'another-variable' => true
));