Key facts
- Developers
- Monte Ohrt, Messju Mohr, Uwe Tews
- Initial release
- 2000 ( 2000 )
- Stable release
- 5.8.0 / 15 February 2026 ; 3 months ago ( 15 February 2026 )
- Written in
- PHP
- Type
- Template Engine
- License
- LGPL
- Website
- www .smarty .net
- Repository
- github .com /smarty-php /smarty
via Wikipedia infobox
Official website
Link to the official site · 4,395 chars · not written by Vinony
Source code
Smarty template engine Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Excerpt from the source-code README · 855 chars · not written by Vinony
Wikidata facts
- Official website
- www.smarty.net
Show 3 more facts
- software version identifier
- 5.8.0
- inception
- 2002-00-00
- source code repository URL
- github.com/smarty-php/smarty
via Wikidata · CC0
~2 min read
Article
Smarty is a web template system written in PHP. Smarty is primarily promoted as a tool for separation of concerns. Smarty is intended to simplify compartmentalization, allowing the front-end of a web page to change separately from its back-end. Ideally, this lowers costs and minimizes the efforts associated with software maintenance.
Smarty generates web content through the placement of special Smarty tags within a document. These tags are processed and substituted with other code. Tags are directives for Smarty that are enclosed by template delimiters. These directives can be variables, denoted by a dollar sign ($), functions, logical or loop statements. Smarty allows PHP programmers to define custom functions that can be accessed using Smarty tags.