pear / html_template_sigma
A fork of Integrated Templates (PEAR HTML_Template_IT) with template "compilation" added
Installs: 0
Dependents: 1
Suggesters: 1
Security: 0
Stars: 1
Watchers: 12
Forks: 9
pkg:composer/pear/html_template_sigma
Requires
- php: >=5.6
- ext-ctype: *
- pear/pear-core-minimal: ^1.10
- pear/pear_exception: ^1.0
Requires (Dev)
- yoast/phpunit-polyfills: ^2.0
This package is auto-updated.
Last update: 2025-10-31 20:35:19 UTC
README
This is a repository for PEAR HTML_Template_Sigma package that has been migrated from PEAR SVN.
The package is a fork of PEAR HTML_Template_IT and can be used as a drop-in replacement for that. The main advantages of Sigma are
- implementation of template caching and
- support for some extra syntax.
Please report issues via the PEAR bug tracker or GitHub issues.
Pull requests are welcome.
Installation
The package may be installed either with PEAR
$ pear install HTML_Template_Sigma
or with composer
$ composer require pear/html_template_sigma
Composer installation relies completely on autoloading and does not contain require_once calls or
use include-path option.
Documentation
...is available on PEAR website.
Larger usage examples are in the repository.
Testing, Packaging and Installing (Pear)
To test, run
$ phpunit tests/
after installing dependencies with composer. You can also test the installed package with
$ phpunit [PEAR tests dir]/HTML_Template_Sigma
Since PEAR package needs its require_once statements re-enabled, please run the helper file before packaging and
installing
$ php pear-package-helper.php
Then to build, simply
$ pear package .pear-package/package.xml
To install from scratch
$ pear install .pear-package/package.xml
To upgrade
$ pear upgrade -f .pear-package/package.xml