https://github.com/smarty-php/smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
https://github.com/smarty-php/smarty
php smarty
Last synced: about 2 months ago
JSON representation
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.
- Host: GitHub
- URL: https://github.com/smarty-php/smarty
- Owner: smarty-php
- License: other
- Created: 2014-10-30T20:15:10.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T12:28:18.000Z (about 2 months ago)
- Last Synced: 2025-05-06T19:52:06.231Z (about 2 months ago)
- Topics: php, smarty
- Language: PHP
- Homepage:
- Size: 23.2 MB
- Stars: 2,302
- Watchers: 184
- Forks: 716
- Open Issues: 95
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-starts - smarty-php/smarty - Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. (php)
README
# 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 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)Thank you!