2021-10-13 22:49:43 +02:00
|
|
|
# Smarty template engine
|
|
|
|
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
|
2017-05-11 10:50:42 +09:00
|
|
|
|
2021-10-13 12:15:17 +02:00
|
|
|

|
2019-07-04 11:09:46 +02:00
|
|
|
|
2017-07-30 00:39:41 +02:00
|
|
|
## Documentation
|
2021-12-03 11:59:22 +01:00
|
|
|
Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it.
|
2018-04-14 20:32:35 +02:00
|
|
|
|
2019-07-04 11:09:46 +02:00
|
|
|
## Requirements
|
2025-07-02 10:01:28 +02:00
|
|
|
Smarty v5 can be run with PHP 7.2 to PHP 8.5.
|
2019-07-04 11:09:46 +02:00
|
|
|
|
2021-10-13 22:49:43 +02:00
|
|
|
## Installation
|
|
|
|
Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/).
|
2015-05-04 18:21:55 +02:00
|
|
|
|
2021-10-13 22:49:43 +02:00
|
|
|
To get the latest stable version of Smarty use:
|
|
|
|
```bash
|
|
|
|
composer require smarty/smarty
|
|
|
|
````
|
2015-05-04 18:21:55 +02:00
|
|
|
|
2021-12-03 16:51:08 +01:00
|
|
|
More in the [Getting Started](./docs/getting-started.md) section of the docs.
|
2025-04-13 22:34:16 +02:00
|
|
|
|
|
|
|
## Sponsors
|
|
|
|
|
|
|
|
Smarty is sponsored by:
|
|
|
|
- Marc Laporte [@marclaporte](https://github.com/marclaporte)
|
2025-05-27 22:39:34 +02:00
|
|
|
- [Temma](https://github.com/Digicreon/Temma), the MVC framework based on Smarty
|
2025-04-13 22:34:16 +02:00
|
|
|
|
|
|
|
Thank you!
|