PHP

smarty

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.

S

smarty-php

Dernière activité 25 août 2026
smarty-php/smarty

2,3 k

étoiles

707

forks

124

issues ouvertes

phpsmarty

Ce README est souvent en anglais.

Smarty template engine

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic.

CI

Documentation

Read the documentation to find out how to use it.

Requirements

Smarty v5 can be run with PHP 7.2 to PHP 8.5.

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

More in the Getting Started section of the docs.

Sponsors

Smarty is sponsored by:

Thank you!

Projets similaires

Twig, the flexible, fast, and secure template language for PHP

PHPphptemplate-enginetemplate-language
Ttwigphp
8,4 k étoiles1,3 k

A simple template engine.

PHP
Ssebastianbergmann
7,4 k étoiles30

Smarty templating engine integration for Codeigniter 3.0+ with inbuilt theming and asset management.

PHP
VVheissu
176 étoiles40