rocketphp / template
Dynamic HTML templates.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:HTML
Requires
- php: >=5.5
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-13 10:31:44 UTC
README
RocketPHP\Template
uses static template files. It replaces [@var] tags with PHP variables.
To use a template – start with an instance of Template and set variables before calling output().
use RocketPHP\Template\Template; $tpl = new Template('index.tpl'); $tpl->set('title', 'My Page Title'); echo $tpl->output();
- File issues at https://github.com/rocketphp/template/issues
- Documentation is at http://rocketphp.io/template