mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-04 03:40:53 +02:00
428a701b1871b02078a663d51a9a6555195743b3
* Add converted docs repo * Set theme jekyll-theme-minimal * Removed BC docs, added TOC * Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site * some link fixes
Smarty template engine
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
Documentation
Read the documentation 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.
To get the latest stable version of Smarty use:
composer require smarty/smarty
To get the latest, unreleased version, use:
composer require smarty/smarty:dev-master
To get the previous stable version of Smarty, Smarty 3, use:
composer require smarty/smarty:^3
Languages
PHP
91.1%
Go Template
5.3%
Yacc
2.4%
Smarty
0.8%
Dockerfile
0.2%
Other
0.1%