ehough / contemplate
This package is abandoned and no longer maintained.
No replacement package was suggested.
Template library that uses pure PHP syntax. Nothing new to learn, blazingly fast, and compatible with PHP 5.2+.
1.0.4
2013-05-30 22:20 UTC
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();