This bundle was created to support Smarty in Symfony2, providing an alternative to the Twig template engine natively supported.
Note
An effort was made to provide, where possible, the same user configuration and extensions available for the Twig bundle. This is to allow easy switching between the two bundles (at least I hope so!).
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation.
Some of Smarty’s features: [1]
See the Smarty3 Manual for other features and information on it’s syntax, configuration and installation.
[1] | http://www.smarty.net/docs/en/what.is.smarty.tpl |
This bundle is licensed under the LGPL-3 License. See the LICENSE file for details.