| What it is | The flexible, fast, and secure template engine for PHP | PHP template engine with context-sensitive escaping | The compiling template engine for PHP | A very fast and expressive template engine |
| Features | - a template engine for PHP with concise syntax and automatic output escaping
- compiles templates to optimized PHP
- template inheritance, blocks and macros
- sandbox mode for templates users can edit
- custom tags, filters and functions
| - context-sensitive escaping against XSS
- PHP expression syntax with one delimiter
- n:attributes for paired tags
- layouts and template inheritance
- sandbox mode for untrusted templates
- compiles to plain PHP
- Tracy debugger panel
- PhpStorm and NetBeans support
| - template variables, modifiers and functions
- template inheritance
- template caching
- config files
- debugging console
- security policy for templates
| - template inheritance and inclusion
- macros
- HTML autoescaping
- sandboxed environment
- asyncio support
- Babel i18n
- JIT or ahead-of-time compilation to Python
- extensible filters, tests and syntax
|