PHPackages                             proklung/timber-twig-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. proklung/timber-twig-bundle

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

proklung/timber-twig-bundle
===========================

Timber/Twig bundle for custom Wordpress + Symfony.

1.2.7(4y ago)15MITPHPPHP &gt;=7.3 || ^8.0

Since Aug 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ProklUng/timber.twig.bundle)[ Packagist](https://packagist.org/packages/proklung/timber-twig-bundle)[ RSS](/packages/proklung-timber-twig-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (20)Used By (0)

Бандл для Symfony+Wordpress, дающий возможность использовать Twig
=================================================================

[](#бандл-для-symfonywordpress-дающий-возможность-использовать-twig)

***INTERNAL***

В результате в контейнере появляется сервис `twig.instance` (и `twig`) со сконфигурированным экземпляром Twig. Плюс Twig автоматически подцепляется к системе после загрузки контейнера.

Установка
---------

[](#установка)

composer.json:

```
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/proklung/timber.twig.bundle"
        }
    ]
```

```
composer require proklung/timber-twig-bundle
```

### Конфигурация

[](#конфигурация)

#### Подключение дополнительных функций Твига

[](#подключение-дополнительных-функций-твига)

Пример секции `twig` основного контейнера

```
parameters:
  twig:
    functions:
      get_twig_header: Local\Services\TwigFunctionsExtended::renderHeader
      get_template_post: Local\Post::getTemplate
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

19

Last Release

1732d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9210c86ee6734e537eaf22c0f2fe7a965451e340e39e1aae2b74013f24c2660d?d=identicon)[gedovan](/maintainers/gedovan)

---

Top Contributors

[![ProklUng](https://avatars.githubusercontent.com/u/19857467?v=4)](https://github.com/ProklUng "ProklUng (21 commits)")

---

Tags

php7timbertwigwordpresswordpress-symfony

### Embed Badge

![Health badge](/badges/proklung-timber-twig-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/proklung-timber-twig-bundle/health.svg)](https://phpackages.com/packages/proklung-timber-twig-bundle)
```

###  Alternatives

[sylius/sylius

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

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

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[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)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17314.3M161](/packages/symfony-stimulus-bundle)

PHPackages © 2026

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