Smarty is a template engine for PHP. More specifically, it facilitates a manageable way to separate application logic and content from its presentation.