Skip to content
Branch: master
Clone or download
Latest commit 3491768 Feb 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
HTML/Template Fix typo Feb 28, 2018
examples Changed constructors to new '__construct' style. Jan 16, 2018
.travis.yml run 7.2 also; don't hardcode pear upgrade version Jan 16, 2018
LICENSE - rename LICENCE to LICENSE Nov 1, 2005 Align space with others. Feb 28, 2018
composer.json HTML_Template_IT requires PHP 5.4 at least, PHPUnit has to be downgra… Feb 27, 2018
package.xml use license name recognized by packagist Jan 22, 2018

HTML_Template_IT - Integrated Templates

Build Status

HTML_Template_IT is a templating engine designed to allow easy separation of concerns. It does this by clearly separating the presentational code from the PHP code. The presentation code may be of any format, however generally XML or HTML is used. This engine works on the foundation of blocks and placeholders. It uses the hierarchy of blocks to determine which presentational code is instantiated when blocks are parsed. The placeholders allow the insertion of "dynamic" information. There are two classes to use for templating. HTML_Template_IT is used for basic templating needs. HTML_Template_ITX gives you full power over the templating engine, allowing blocks to be added, and function callbacks to be used.



For a PEAR installation that downloads from the PEAR channel:

$ pear install pear/html_template_it

For a PEAR installation from a previously downloaded tarball:

$ pear install HTML_Template_IT-*.tgz

For a PEAR installation from a code clone:

$ pear install package.xml

For a local composer installation:

$ composer install

To add as a dependency to your composer-managed application:

$ composer require pear/html_template_it


Run the tests from a local composer installation:

$ ./vendor/bin/phpunit


Modified BSD license

You can’t perform that action at this time.