PHPackages                             schranz-templating/symfony-latte-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. [Templating &amp; Views](/categories/templating)
4. /
5. schranz-templating/symfony-latte-integration

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

schranz-templating/symfony-latte-integration
============================================

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

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

Since Sep 17Pushed 3y ago1 watchersCompare

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

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

Schranz Template Renderer Integration for Latte
===============================================

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

Integrate the templating [Latte Adapter](https://github.com/schranz-templating/latte-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-latte-integration
```

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

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

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

[](#configuration)

The Latte Integration has the following configuration available:

```
schranz_templating_latte:
    default_path: '%kernel.project_dir%/templates'
    cache: '%kernel.cache_dir%/latte'
```

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 Latte templates by default.

### cache

[](#cache)

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

Before using the Latte 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.

Extensions
----------

[](#extensions)

To extend Latte functionality you can create a new service extending from `Latte\Extension`which when `autoconfigure` is enabled automatically be tagged with `latte.extension` and added as a Latte Extension. If not you need to tag the service yourself:

```
services:
    App\Latte\MyExtension:
        tags:
            - { name: latte.extension }
```

Read more about Latte Extensions in the [Latte documentation](https://latte.nette.org/en/creating-extension).

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

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

1384d 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 (4 commits)")

### Embed Badge

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

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

PHPackages © 2026

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