Note
This repository is preserved for historical and reference purposes.
The codebase contains the Smarty PHP template engine source code and is not an original application developed by the repository owner. This repository is kept as part of an earlier development archive.
For current projects and original work, visit my GitHub profile.
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 can be run with PHP 7.1 to PHP 8.0.
Smarty versions 3.1.11 or later can be installed with Composer.
To get the latest stable version of Smarty use:
composer require smarty/smartyTo get the latest, unreleased version, use:
composer require smarty/smarty:dev-masterTo get the previous stable version of Smarty, Smarty 3, use:
composer require smarty/smarty:^3