Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Read the documentation to find out how to use it.
Smarty v5 can be run with PHP 7.2 to PHP 8.4.
Smarty versions 3.1.11 or later can be installed with Composer.
To get the latest stable version of Smarty use:
composer require smarty/smarty
More in the Getting Started section of the docs.