smarty/smarty

Smarty - the compiling PHP template engine

Fund package maintenance!
wisskid

Installs: 34 980 132

Dependents: 527

Suggesters: 43

Security: 15

Stars: 2 335

Watchers: 182

Forks: 713

Open Issues: 102

v5.5.2 2025-08-26 08:38 UTC

This package is auto-updated.

Last update: 2025-09-26 08:54:54 UTC


README

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.4.

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!