PHPackages                             datingvip/smarty - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. datingvip/smarty

ActiveLibrary[Templating &amp; Views](/categories/templating)

datingvip/smarty
================

Smarty - the compiling PHP template engine

v4.3.2.3(5mo ago)04.5k↓42.2%LGPL-3.0PHPPHP ^7.1 || ^8.0

Since Oct 30Pushed 5mo agoCompare

[ Source](https://github.com/DatingVIP/smarty)[ Packagist](https://packagist.org/packages/datingvip/smarty)[ Docs](https://smarty-php.github.io/smarty/)[ RSS](/packages/datingvip-smarty/feed)WikiDiscussions support/4.3 Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (132)Used By (0)

Smarty template engine
======================

[](#smarty-template-engine)

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

[![CI](https://github.com/smarty-php/smarty/workflows/CI/badge.svg)](https://github.com/smarty-php/smarty/workflows/CI/badge.svg)

Documentation
-------------

[](#documentation)

Read the [documentation](https://smarty-php.github.io/smarty/) to find out how to use it.

Requirements
------------

[](#requirements)

Smarty can be run with PHP 7.1 to PHP 8.2.

Installation
------------

[](#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:

```
composer require smarty/smarty
```

More in the [Getting Started](./docs/getting-started.md) section of the docs.

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance71

Regular maintenance activity

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~65 days

Recently: every ~228 days

Total

64

Last Release

164d ago

Major Versions

v3.1.45 → v4.2.02022-08-01

v3.1.46 → v4.2.12022-09-14

v3.1.47 → v4.3.02022-11-22

v3.1.48 → v4.3.12023-03-28

v4.3.2 → v5.0.0-rc12023-08-07

PHP version history (4 changes)v2.6.24PHP &gt;=5.2

v4.0.0-rc.0PHP ^7.1 || ^8.0

v3.1.47PHP ^5.2 || ^7.0

v5.0.0-rc1PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/725986?v=4)[Boris Momčilović](/maintainers/kornrunner)[@kornrunner](https://github.com/kornrunner)

---

Top Contributors

[![uwetews](https://avatars.githubusercontent.com/u/1246127?v=4)](https://github.com/uwetews "uwetews (1243 commits)")[![wisskid](https://avatars.githubusercontent.com/u/9041348?v=4)](https://github.com/wisskid "wisskid (164 commits)")[![glensc](https://avatars.githubusercontent.com/u/199095?v=4)](https://github.com/glensc "glensc (11 commits)")[![mohrt](https://avatars.githubusercontent.com/u/1020204?v=4)](https://github.com/mohrt "mohrt (9 commits)")[![AnrDaemon](https://avatars.githubusercontent.com/u/6532485?v=4)](https://github.com/AnrDaemon "AnrDaemon (7 commits)")[![thirsch](https://avatars.githubusercontent.com/u/1055937?v=4)](https://github.com/thirsch "thirsch (6 commits)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (5 commits)")[![dusta](https://avatars.githubusercontent.com/u/9001348?v=4)](https://github.com/dusta "dusta (4 commits)")[![Stricted](https://avatars.githubusercontent.com/u/4091731?v=4)](https://github.com/Stricted "Stricted (3 commits)")[![liborm85](https://avatars.githubusercontent.com/u/1298652?v=4)](https://github.com/liborm85 "liborm85 (2 commits)")[![eltociear](https://avatars.githubusercontent.com/u/22633385?v=4)](https://github.com/eltociear "eltociear (2 commits)")[![Hunman](https://avatars.githubusercontent.com/u/7405480?v=4)](https://github.com/Hunman "Hunman (2 commits)")[![IT-Experte](https://avatars.githubusercontent.com/u/12892027?v=4)](https://github.com/IT-Experte "IT-Experte (2 commits)")[![JonisoftGermany](https://avatars.githubusercontent.com/u/5918651?v=4)](https://github.com/JonisoftGermany "JonisoftGermany (2 commits)")[![caugner](https://avatars.githubusercontent.com/u/495429?v=4)](https://github.com/caugner "caugner (2 commits)")[![pH-7](https://avatars.githubusercontent.com/u/1325411?v=4)](https://github.com/pH-7 "pH-7 (2 commits)")[![ssigwart](https://avatars.githubusercontent.com/u/1426848?v=4)](https://github.com/ssigwart "ssigwart (2 commits)")[![atomiix](https://avatars.githubusercontent.com/u/2168836?v=4)](https://github.com/atomiix "atomiix (2 commits)")[![Progi1984](https://avatars.githubusercontent.com/u/1533248?v=4)](https://github.com/Progi1984 "Progi1984 (1 commits)")[![Scootin159](https://avatars.githubusercontent.com/u/15823735?v=4)](https://github.com/Scootin159 "Scootin159 (1 commits)")

---

Tags

templating

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/datingvip-smarty/health.svg)

```
[![Health](https://phpackages.com/badges/datingvip-smarty/health.svg)](https://phpackages.com/packages/datingvip-smarty)
```

###  Alternatives

[twig/twig

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

8.7k465.7M7.2k](/packages/twig-twig)[mustache/mustache

A Mustache implementation in PHP.

3.3k47.6M324](/packages/mustache-mustache)[smarty/smarty

Smarty - the compiling PHP template engine

2.4k41.8M457](/packages/smarty-smarty)[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.7M132](/packages/timber-timber)[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k6.2M273](/packages/league-plates)[eftec/bladeone

The standalone version Blade Template Engine from Laravel in a single php file

8379.7M104](/packages/eftec-bladeone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
