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

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

phptransformers/mustache
========================

Mustache support for PHPTransformers.

1.0.0(8y ago)039MITPHPPHP &gt;=5.3.0

Since Apr 29Pushed 8y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Mustache for PHPTransformers
============================

[](#mustache-for-phptransformers)

[![Latest Version](https://camo.githubusercontent.com/eba0d87c2ae98c9f72561e9f685edd4daf68ccb09cff147c4705a30f9ffb7c75/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068707472616e73666f726d6572732f6d757374616368652e7376673f7374796c653d666c61742d737175617265)](https://github.com/phptransformers/mustache/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a10cd0e8e40bda1631a76ce2e7695d441b48dcf203d38209ec97005de4f73fed/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7068707472616e73666f726d6572732f6d757374616368652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phptransformers/mustache)[![Coverage Status](https://camo.githubusercontent.com/a044afc6c810e6f934e6b5c67c79a8c229884b0bdfd344aeaab8288936bf5fa1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068707472616e73666f726d6572732f6d757374616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phptransformers/mustache/code-structure)[![Quality Score](https://camo.githubusercontent.com/0e0d0267d6ee86a3842faa6cfd14d2fd214c8af418b060fe9c607e230f69af6d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068707472616e73666f726d6572732f6d757374616368652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/phptransformers/mustache)[![Total Downloads](https://camo.githubusercontent.com/841cc076ef9f640c82283c02dfd60e96aa72ad111bbdf609940a1e72a3dfdf3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068707472616e73666f726d6572732f6d757374616368652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phptransformers/mustache)

[Mustache.php](https://github.com/bobthecow/mustache.php) support for [PHPTransformers](http://github.com/phptransformers/phptransformer).

Install
-------

[](#install)

Via Composer

```
$ composer require phptransformers/mustache
```

Usage
-----

[](#usage)

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

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Rob Loach](https://github.com/RobLoach)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~886 days

Total

2

Last Release

3151d ago

Major Versions

0.0.1 → 1.0.02017-10-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25086?v=4)[Rob Loach](/maintainers/RobLoach)[@RobLoach](https://github.com/RobLoach)

---

Top Contributors

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

---

Tags

mustachephptransformers

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[zordius/lightncandy

An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ).

60910.5M45](/packages/zordius-lightncandy)[salesforce/handlebars-php

Handlebars processor for php

80713.2k11](/packages/salesforce-handlebars-php)[wrklst/docxmustache

docx template manipulation class, based on mustache templating language

578.1k](/packages/wrklst-docxmustache)[zombor/kostache

Logic-less View/Mustache Module for the Kohana Framework

1382.1k2](/packages/zombor-kostache)[bobthecow/mustache-bundle

Symfony Mustache.php Bundle

1886.1k](/packages/bobthecow-mustache-bundle)

PHPackages © 2026

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