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

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

proklung/bitrix-twig-bundle
===========================

Twig bundle for custom Bitrix + Symfony.

1.0.2(4y ago)151MITPHPPHP &gt;=7.3 || ^8.0

Since Aug 15Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (7)Versions (4)Used By (1)

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

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

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

Плюс Twig автоматически подцепляется к системе после загрузки контейнера.

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

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

composer.json:

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

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

Подключить бандл в `standalone_bundles.php`:

```
return [
 Prokl\BitrixTwigBundle\BitrixTwigBundle::class => ['all' => true],
];
```

Зависит от [пакет](https://github.com/ProklUng/core.framework.extension.bundle), где происходит обработка настроек в файле `framework.yaml`

Типа:

```
framework:
  twig:
    # Пути к шаблонам
    default_path: '%kernel.project_dir%/local/twig'
    paths:
      '%kernel.project_dir%/local/twig': ~
      # С namespace
      '%kernel.project_dir%/../../vendor/symfony/web-profiler-bundle/Resources/views': WebProfiler

    cache: false
    cache_dir: '%kernel.project_dir%/bitrix/cache/twig'
    autoescape: 'name'
    autoescape_service: ~
    autoescape_service_method: ~
    base_template_class: 'Twig\Template'
    debug: '%kernel.debug%'
    strict_variables: '%kernel.debug%'
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

3

Last Release

1730d 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 (6 commits)")

---

Tags

bitrixbitrix-symfonyphp7twig

### Embed Badge

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

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

###  Alternatives

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[a2lix/auto-form-bundle

Automate form building

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

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[iq2i/storia-bundle

UI Storia bundle

144.6k](/packages/iq2i-storia-bundle)

PHPackages © 2026

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