PHP Classes


Recommend this page to a friend!
  Classes of Pierre-Henry Soria   H2OTpl   Download  
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: H2OTpl
Process and output PHP template scripts
Author: By
Last change: Update of
Date: 4 months ago
Size: 1,450 bytes


Class file image Download

H2OTpl - PHP Template Engine


“The simplest and best way to separate your HTML (template) code from your PHP code while coding in PHP!”

H2OTpl is an easy, fast and secure PHP template engine.

It was created for my H2O Engine (framework), but now I have decided to create a standalone version for people who don't want to use it with my H2O framework.

My other Web Template Engines

  1. PHXSLT is a XSLT Template Engine for PHP.
  2. PH7Tpl There is not standalone version available. pH7Tpl is integrated into my pH7Frameowork. It supports two different syntaxes. The first looks slightly to Smarty syntax and the second is inspired to XSLT/XML syntax but simplified and easier to use.

Server Requirements

H2OTpl class can work with PHP 5.2, but not the demo. So, I recommend to have PHP 5.4 or higher installed.


Pierre-Henry Soria


You can contact me at: ph7software {AT} gmail {DOT} com


This script is under Lesser General Public License (LGPL); See the LICENSE.txt file for more information.