summaryrefslogtreecommitdiff
path: root/README.md
blob: 1b44172dc2fba30f1f5c5c94a67442288efef620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Smarty template engine
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. 

![CI](https://github.com/smarty-php/smarty/workflows/CI/badge.svg)

## Documentation
Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it. 

## Requirements
Smarty v5 can be run with PHP 7.2 to PHP 8.4.

## Installation
Smarty versions 3.1.11 or later can be installed with [Composer](https://getcomposer.org/).

To get the latest stable version of Smarty use:
```bash
composer require smarty/smarty
````

More in the [Getting Started](./docs/getting-started.md) section of the docs.

## Sponsors

Smarty is sponsored by:
- Marc Laporte [@marclaporte](https://github.com/marclaporte)
- [Temma](https://github.com/Digicreon/Temma), the MVC framework based on Smarty

Thank you!