This package is a template engine that compiles templates into PHP.
It can validate and compile a template file. The template syntax allows conditional sections that can be nested.
It can compile a given template file and generate a PHP script with code that generates the output taking the template parameters and replacing them in the respective template mark positions.
The output of the compiled templates is stored in cache files to prevent recompilation time overhead. It can recompile template files only if they changed.
It supports a debug mode to provide more information when template processing fails due to a syntax error or some other reason. |