PHPackages                             schranz-templating/symfony-mustache-integration - 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. schranz-templating/symfony-mustache-integration

ActiveLibrary

schranz-templating/symfony-mustache-integration
===============================================

A integration of template renderer into symfony via mustache template engine.

0.1.0(3y ago)012MITPHPPHP ^7.0 || ^8.0

Since Sep 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/schranz-templating/symfony-mustache-integration)[ Packagist](https://packagist.org/packages/schranz-templating/symfony-mustache-integration)[ RSS](/packages/schranz-templating-symfony-mustache-integration/feed)WikiDiscussions 0.1 Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Schranz Template Renderer Integration for Mustache
==================================================

[](#schranz-template-renderer-integration-for-mustache)

Integrate the templating [Mustache Adapter](https://github.com/schranz-templating/mustache-adapter)into the Symfony Framework.

Part of the [Schranz Templating Project](https://github.com/schranz-templating/templating).

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

[](#installation)

Install this package via Composer:

```
composer require schranz-templating/symfony-mustache-integration
```

Register the Bundle class in your `config/bundles.php` or Kernel file:

```
return [
    // ...
    Schranz\Templating\Integration\Symfony\Mustache\SchranzTemplatingMustacheBundle::class => ['all' => true],
];
```

Configuration
-------------

[](#configuration)

The Mustache Integration has the following configuration available:

```
schranz_templating_mustache:
    default_path: '%kernel.project_dir%/templates'
    cache: '%kernel.cache_dir%/mustache'
```

None of the configuration is required.

### default\_path

[](#default_path)

**type:** `string` **default:** `'%kernel.project_dir%/templates'`

The path to the directory where Symfony will look for the application Mustache templates by default.

### cache

[](#cache)

**type:** `string` **default:** `'%kernel.cache_dir%/mustache'`

Before using the Mustache templates to render some contents, they are compiled into regular PHP code. Compilation is a costly process, so the result is cached in the directory defined by this configuration option.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

1333d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1698337?v=4)[Alexander Schranz](/maintainers/alexander-schranz)[@alexander-schranz](https://github.com/alexander-schranz)

---

Top Contributors

[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (2 commits)")

### Embed Badge

![Health badge](/badges/schranz-templating-symfony-mustache-integration/health.svg)

```
[![Health](https://phpackages.com/badges/schranz-templating-symfony-mustache-integration/health.svg)](https://phpackages.com/packages/schranz-templating-symfony-mustache-integration)
```

###  Alternatives

[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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