
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()). Fixed file includes in templates with quotes. Removed SmartyValidate.class.php includes. Still work in progress as some errors still appear!
21 lines
660 B
Markdown
21 lines
660 B
Markdown
# Smarty template engine
|
|
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
|
|
|
|

|
|
|
|
## Documentation
|
|
Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it.
|
|
|
|
## Requirements
|
|
Smarty can be run with PHP 7.1 to PHP 8.0.
|
|
|
|
## 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.
|