PHPackages                             phptransformers/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. phptransformers/smarty

ActiveLibrary

phptransformers/smarty
======================

Smarty implementation of PhpTransformer.

1.0.0(10y ago)046MITPHPPHP &gt;=5.3.0

Since Feb 25Pushed 8y ago2 watchersCompare

[ Source](https://github.com/phptransformers/smarty)[ Packagist](https://packagist.org/packages/phptransformers/smarty)[ Docs](https://github.com/phptransformers/phptransformer)[ RSS](/packages/phptransformers-smarty/feed)WikiDiscussions master Synced 2mo ago

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

Smarty for PHPTransformers
==========================

[](#smarty-for-phptransformers)

[Smarty](http://www.smarty.net/) support for [PHPTransformers](http://github.com/phptransformers/phptransformer).

Install
-------

[](#install)

Via Composer

```
$ composer require phptransformers/smarty
```

Usage
-----

[](#usage)

```
$engine = new SmartyTransformer();
echo $engine->render('Hello, {$name}!', array('name' => 'phptransformers'));
```

Testing
-------

[](#testing)

```
$ phpunit
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

3732d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e35bfbefc89c6998a77e2bf9ef3da42d80513b57cb9ae209b6c39b92a96097b3?d=identicon)[MacFJA](/maintainers/MacFJA)

---

Top Contributors

[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (8 commits)")[![MacFJA](https://avatars.githubusercontent.com/u/1475671?v=4)](https://github.com/MacFJA "MacFJA (2 commits)")

---

Tags

templatessmartytemplate enginephptransformersphptransformer

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[foil/foil

PHP template engine for native PHP templates

170111.2k7](/packages/foil-foil)[ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

87401.6k](/packages/ytake-laravel-smarty)[yiisoft/yii2-smarty

The Smarty integration for the Yii framework

74371.8k15](/packages/yiisoft-yii2-smarty)

PHPackages © 2026

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