PHP-Sugar is a new template engine for PHP, similar in intent to Smarty. A powerful and flexible compilation engine is used which allows for powerful expressions similar to that of PHP itself.
The project also features a clean and easy to understand syntax, which was created with the average designer in mind.
Security is a strength of PHP-Sugar. For example, output is HTML-escaped by default, instead of requiring explicit escaping like PHP itself, which makes it far less likely to accidentally introduce an HTML or JavaScript code injection vulnerability from user-submitted content.
What's New in This Release:
· The default code delimiters have been changed to {% and %}.
· Delimiters are now configurable.
· Function call syntax has been simplified and cleaned up.
· Auto-registration of functions has been added, along with function plugins.
· Various other minor API updates have been made.
Product's homepage