PHPackages                             covex-nn/twig-callable-bridge-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. covex-nn/twig-callable-bridge-bundle

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

covex-nn/twig-callable-bridge-bundle
====================================

Provides a simple interface to extend Twig with PHP functions

1.1.0(9y ago)03736MITPHPPHP &gt;=5.3.0

Since May 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/covex-nn/TwigCallableBridgeBundle)[ Packagist](https://packagist.org/packages/covex-nn/twig-callable-bridge-bundle)[ RSS](/packages/covex-nn-twig-callable-bridge-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (6)Versions (3)Used By (6)

Twig Callable Bridge Bundle
===========================

[](#twig-callable-bridge-bundle)

[![Build Status](https://camo.githubusercontent.com/4cab7287254e5896fbfc6e057b61dc472d0e81b7718ff6a34346471f2b70be7f/68747470733a2f2f7472617669732d63692e6f72672f636f7665782d6e6e2f5477696743616c6c61626c6542726964676542756e646c652e737667)](https://travis-ci.org/covex-nn/TwigCallableBridgeBundle) [![SensioLabsInsight](https://camo.githubusercontent.com/0fa3a37554b2239063449b81cb1cbddd6fca89be7e78daec20b770f5b5823905/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38326564653333362d396662652d346364392d623761632d3265353935313632373530632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/82ede336-9fbe-4cd9-b7ac-2e595162750c)

This Symfony2 bundle aims to provide a simple interface to extend Twig with PHP functions

Installation
------------

[](#installation)

Add requirements to composer.json:

```
{
  "require" : {
    "covex-nn/twig-callable-bridge-bundle" : "~1.0"
  }
}
```

Register the bundle
-------------------

[](#register-the-bundle)

Register the bundle in the `AppKernel.php` file

```
// ...other bundles ...
$bundles[] = new Covex\TwigCallableBridgeBundle\CovexTwigCallableBridgeBundle();
```

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

[](#configuration)

Add the configuration to `config.yml`

```
covex_twig_callable_bridge:
    functions:
        uppercase: strtoupper
    filters:
        lowercase: strtolower
    test:
        numeric: is_numeric
```

Twig
----

[](#twig)

Use your functions, filters and test in Twig templates:

```
{{ uppercase('qqq') }}
{{ 'WoW'|lowercase }}
{% if 1 is numeric %}yes{% else %}no{% endif %}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3596d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd7f833537e59f3a0275ec881051e8d08ee9b658025f675f201228956da8a3e0?d=identicon)[covex-nn](/maintainers/covex-nn)

---

Top Contributors

[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (17 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/covex-nn-twig-callable-bridge-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/covex-nn-twig-callable-bridge-bundle/health.svg)](https://phpackages.com/packages/covex-nn-twig-callable-bridge-bundle)
```

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[endroid/qr-code-bundle

Endroid QR Code Bundle

32110.6M17](/packages/endroid-qr-code-bundle)[symfony/twig-pack

A Twig pack for Symfony projects

27310.6M49](/packages/symfony-twig-pack)[braincrafted/bootstrap-bundle

BraincraftedBootstrapBundle integrates Bootstrap into Symfony2 by providing templates, Twig extensions, services and commands.

3932.0M33](/packages/braincrafted-bootstrap-bundle)

PHPackages © 2026

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