Projects / Sugar


Sugar is an advanced template engine for PHP. It allows for very expressive macros and flexibility and makes the writing of safe and secure templates easy.


Recent releases

  •  29 Aug 2009 08:50

    Release Notes: Documentation was improved. Smarty-style modifiers and block close tags were added. The project was renamed for licensing reasons. Object method invocation control was added for enhanced template security.

    •  28 Jul 2008 04:15

      Release Notes: 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.

      •  15 Feb 2008 18:41

        Release Notes: Full documentation is now available for all template functions. Fixes for strict mode have been applied along with several other minor bugfixes. Objects can now be accessed using the same syntax as arrays. Several new template functions have been added.

        •  12 Feb 2008 10:33

          Release Notes: The behavior of Sugar::isCached() in debug mode was fixed along with E_STRICT error level bugs. Several broken tests were fixed and a new test was added.

          •  09 Feb 2008 08:05

            Release Notes: The final caching features have been implemented. In addition, several bugs were fixed and new template functions have been implemented.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.