PHPackages                             bengor-user/twig-bridge - 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. bengor-user/twig-bridge

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

bengor-user/twig-bridge
=======================

Adapter to make User compatible with Twig

v1.0.5(9y ago)16.0k↓100%1[1 issues](https://github.com/BenGorUser/TwigBridge/issues)MITPHPPHP ^5.5 || ^7.0

Since Jun 13Pushed 9y ago2 watchersCompare

[ Source](https://github.com/BenGorUser/TwigBridge)[ Packagist](https://packagist.org/packages/bengor-user/twig-bridge)[ RSS](/packages/bengor-user-twig-bridge/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

TwigBridge
==========

[](#twigbridge)

> Adapter to make User compatible with Twig

[![Build Status](https://camo.githubusercontent.com/9aee4e2b8ec651fc812a50e2667b6b28292db89b9d02ae3fde80e88298031ab8/68747470733a2f2f7472617669732d63692e6f72672f42656e476f72557365722f547769674272696467652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/BenGorUser/TwigBridge)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f9f02c2a53f299a932298c17cfe3d017afe5f1cb37a315721dbc27704b41f947/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f42656e476f72557365722f547769674272696467652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/BenGorUser/TwigBridge/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/c7c3d5c8a88ed75b3db22032bcb99e08f60e98579a69fe863f09765556a255cd/68747470733a2f2f706f7365722e707567782e6f72672f62656e676f722d757365722f747769672d6272696467652f646f776e6c6f616473)](https://packagist.org/packages/bengor-user/twig-bridge/)[![Latest Stable Version](https://camo.githubusercontent.com/83a5b803ef89e77270e562b8051d9bc8f393eadda8023d3d2fac42eb39e8a23c/68747470733a2f2f706f7365722e707567782e6f72672f62656e676f722d757365722f747769672d6272696467652f762f737461626c652e737667)](https://packagist.org/packages/bengor-user/twig-bridge/)[![Latest Unstable Version](https://camo.githubusercontent.com/4aec868fc20bef23248aeb0cd4b6f80b59b23368c3159a80e933357dbb97a55e/68747470733a2f2f706f7365722e707567782e6f72672f62656e676f722d757365722f747769672d6272696467652f762f756e737461626c652e737667)](https://packagist.org/packages/bengor-user/twig-bridge/)

Requirements
------------

[](#requirements)

PHP &gt;= 5.5

\##Installation The easiest way to install this component is using [Composer](http://getcomposer.org)

```
$ composer require bengor-user/twig-bridge
```

Documentation
-------------

[](#documentation)

All the documentation is stored inside the [user library](https://github.com/BenGorUser/User/blob/master/docs/index.md).

Tests
-----

[](#tests)

This library is completely tested by **[PHPSpec](http://www.phpspec.net/), SpecBDD framework for PHP**.

Run the following command to launch tests:

```
$ vendor/bin/phpspec run -fpretty
```

Contributing
------------

[](#contributing)

If you have any doubt or maybe you want to share some opinion, you can use our **Gitter** chat.

[![Join the chat at https://gitter.im/BenGorUser/User](https://camo.githubusercontent.com/7c384e7dff627bc25687c2976b4ff7e1c87275f4d73f461b7ec1ab826fa58a14/68747470733a2f2f6261646765732e6769747465722e696d2f42656e476f72557365722f557365722e737667)](https://gitter.im/BenGorUser/User?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

BenGorUser uses [Crowdin](https://crowdin.com/) as tool to manage translations so, please help us translating your favorite language via this service. Pull requests about translations will not be accepted.

[![Crowdin](https://camo.githubusercontent.com/fe5982dda41fecd317f7dcb2a01c3ce27f7747d56608dfe76b1e5f9669a620be/68747470733a2f2f64333232637174353834626f346f2e636c6f756466726f6e742e6e65742f62656e676f72757365722f6c6f63616c697a65642e737667)](https://crowdin.com/project/bengoruser)

This library follows PHP coding standards, so pull requests need to execute the Fabien Potencier's [PHP-CS-Fixer](http://cs.sensiolabs.org/). Furthermore, if the PR creates some not-PHP file remember that you have to put the license header manually. In order to simplify we provide a Composer script that wraps all the commands related with this process.

```
$ composer run-script cs
```

There is also a policy for contributing to this project. Pull requests must be explained step by step to make the review process easy in order to accept and merge them. New methods or code improvements must come paired with [PHPSpec](http://www.phpspec.net/) tests.

If you would like to contribute it is a good point to follow Symfony contribution standards, so please read the [Contributing Code](http://symfony.com/doc/current/contributing/code/index.html) in the project documentation. If you are submitting a pull request, please follow the guidelines in the [Submitting a Patch](http://symfony.com/doc/current/contributing/code/patches.html#check-list) section and use the [Pull Request Template](http://symfony.com/doc/current/contributing/code/patches.html#make-a-pull-request).

Credits
-------

[](#credits)

This library is created by:

>

**@benatespina** -
**@gorkalaucirica** -

Licensing Options
-----------------

[](#licensing-options)

[![License](https://camo.githubusercontent.com/ab995418ba8b8a409502ebcb66b1daeec49c94956c4f791be7f82d398e95f3dd/68747470733a2f2f706f7365722e707567782e6f72672f62656e676f722d757365722f747769672d6272696467652f6c6963656e73652e737667)](https://github.com/BenGorUser/TwigBridge/blob/master/LICENSE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~64 days

Total

6

Last Release

3296d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b54f0877b7c31df24820fc1c55bd1a4dcda487dbe8ae5b031e6bf8362fecdfe4?d=identicon)[gorkalaucirica](/maintainers/gorkalaucirica)

![](https://www.gravatar.com/avatar/06308bfc15d8774c16d36d727f852c2d29ed8d0d6153637384439747776dc658?d=identicon)[benatespina](/maintainers/benatespina)

---

Top Contributors

[![benatespina](https://avatars.githubusercontent.com/u/3951376?v=4)](https://github.com/benatespina "benatespina (19 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")

---

Tags

dddlibraryphptemplate-enginetwiguser-managementtwiguseradapterddd

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/bengor-user-twig-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/bengor-user-twig-bridge/health.svg)](https://phpackages.com/packages/bengor-user-twig-bridge)
```

###  Alternatives

[sonata-project/twig-extensions

Sonata twig extensions

9110.8M20](/packages/sonata-project-twig-extensions)

PHPackages © 2026

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