PHPackages                             h4d/template - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. h4d/template

ActiveLibrary[Templating &amp; Views](/categories/templating)

h4d/template
============

Basic PHP template system

v1.0.4(8y ago)02551MITPHPPHP &gt;=5.5.9

Since Sep 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/h4d/template)[ Packagist](https://packagist.org/packages/h4d/template)[ RSS](/packages/h4d-template/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (1)

What is this?
=============

[](#what-is-this)

This is a very basic PHP library that helps you work with plain text format templates (txt, html, etc).

Install via composer:
=====================

[](#install-via-composer)

Install the latest version with

```
$ composer require h4d/template

```

Basic usage examples
--------------------

[](#basic-usage-examples)

### Using constructor

[](#using-constructor)

```
