ehough / contemplate
Template library that uses pure PHP syntax. Nothing new to learn, blazingly fast, and compatible with PHP 5.2+.
Installs: 506
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/ehough/contemplate
Requires
- php: >=5.1.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2020-01-24 14:55:37 UTC
README
This library is no longer maintained. Template library that uses pure PHP syntax. Nothing new to learn, blazingly fast, and compatible with PHP 5.2+.
$template = new ehough_contemplate_impl_SimpleTemplate(); //implements ehough_contemplate_api_Template $template->setPath('/some/path/to/template.html.php'); $template->setVariable('foo', 'bar'); $template->setVariable('baz', array('one' => 'two')); echo $template->toString();