PHPackages                             intellect-web-development/templator-symfony-bundle - 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. intellect-web-development/templator-symfony-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

intellect-web-development/templator-symfony-bundle
==================================================

Templator Symfony bundle for render template

1.0.6(1y ago)0959MITPHPPHP &gt;=8.1

Since Aug 29Pushed 1y agoCompare

[ Source](https://github.com/intellect-web-development/templator-symfony-bundle)[ Packagist](https://packagist.org/packages/intellect-web-development/templator-symfony-bundle)[ RSS](/packages/intellect-web-development-templator-symfony-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (12)Used By (0)

Template engine
===============

[](#template-engine)

Examples
--------

[](#examples)

Simple example:

```
$renderable = new Renderable(
    template: 'My first {{variable}} content',
    variables: [
        'variable' => 'rendered',
    ]
);

echo $renderer->render($renderable); // 'My first rendered content'
```

Object examples:

```
$renderable = new Renderable(
    template: 'My name is {{ obj.name }}!',
    variables: [
        'obj' => $obj = new stdClass(),
    ]
);
$obj->name = 'Templator';

echo $renderer->render($renderable); // 'My name is Templator!'
```

```
$renderable = new Renderable(
    template: 'My name is {{ obj.name.first }} {{ obj.name.last }}!',
    variables: [
        'obj' => new class () {
            public object $name;

            public function __construct()
            {
                $this->name = new class () {
                    public string $first = 'Templator';
                    public string $last = 'Symfony';
                };
            }
        },
    ]
);

echo $renderer->render($renderable); // 'My name is Templator Symfony!'
```

Array example:

```
$renderable = new Renderable(
    template: 'My name is {{ obj.name.first }} {{ obj.name.last }}!',
    variables: [
        'obj' => [
            'name' => [
                'first' => 'ivan',
                'last' => 'petrov',
            ],
        ],
    ]
);

echo $renderer->render($renderable); // 'My name is ivan petrov!'
```

Filter example:

```
$renderable = new Renderable(
    template: 'My name is {{ obj.name.first | classify }} {{ obj.name.last | classify }}!',
    variables: [
        'obj' => [
            'name' => [
                'first' => 'ivan',
                'last' => 'petrov',
            ],
        ],
    ]
);

echo $renderer->render($renderable); // 'My name is Ivan Petrov!'
```

Filters example:

```
$renderable = new Renderable(
    template: '{{a | classify}} {{b | constantize}}, {{c | pluralize | classify}} {{d | pluralize}}',
    variables: [
        'a' => 'hello',
        'b' => 'world',
        'c' => 'summer',
        'd' => 'day',
    ]
);

echo $renderer->render($renderable); // 'Hello WORLD, Summers days'
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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 ~45 days

Recently: every ~110 days

Total

11

Last Release

528d ago

Major Versions

0.1.0 → 1.0.02023-09-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/19c137bc2dc0dd342a47f118b8f230e09947f81b1b78538b667d64a2762e058e?d=identicon)[lShamanl](/maintainers/lShamanl)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/intellect-web-development-templator-symfony-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/intellect-web-development-templator-symfony-bundle/health.svg)](https://phpackages.com/packages/intellect-web-development-templator-symfony-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M650](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[a2lix/auto-form-bundle

Automate form building

873.8M11](/packages/a2lix-auto-form-bundle)

PHPackages © 2026

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