PHP-Sugar is a fresh PHP template engine that resembles Smarty's functionality.
One of the most impressive features of PHP-Sugar is its overriding focus on security. It is designed to prevent any HTML or JavaScript code injection vulnerabilities caused by user-submitted content, with output automatically HTML-escaped by default, instead of requiring explicit escaping.
The latest release of PHP-Sugar includes some significant changes, including the default code delimiters changing to {% and %}, and scalable delimiters options. The simplified and more polished function call syntax and addition of auto-registration of functions, along with function plugins, have made the latest version even more user-friendly. Finally, various API updates have also been made to improve functionality.
Overall, PHP-Sugar is a highly secure and feature-rich template engine for PHP, providing more power and flexibility to developers.
Version 0.80: N/A