PHPackages                             softspring/twig-extra-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. softspring/twig-extra-bundle

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

softspring/twig-extra-bundle
============================

This bundle provides extra twig functions.

v5.5.6(10mo ago)024.8k↓24.5%[4 issues](https://github.com/softspring/twig-extra-bundle/issues)4AGPL-3.0-or-laterPHPPHP &gt;=8.1CI passing

Since Feb 14Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/softspring/twig-extra-bundle)[ Packagist](https://packagist.org/packages/softspring/twig-extra-bundle)[ RSS](/packages/softspring-twig-extra-bundle/feed)WikiDiscussions 6.0 Synced 1mo ago

READMEChangelog (10)Dependencies (26)Versions (144)Used By (4)

Twig Extra Bundle
=================

[](#twig-extra-bundle)

[![Latest Stable](https://camo.githubusercontent.com/f751dce1a865f43da1fcc1a4bb53f405a1eea06585211190cd2a88dd7dd8c59f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f747769672d65787472612d62756e646c653f6c6162656c3d737461626c65267374796c653d666c61742d737175617265)](https://github.com/softspring/twig-extra-bundle/releases)[![Latest Unstable](https://camo.githubusercontent.com/1196a894675a9621c8fa478a9a067e196d1119fe6b9d4621c15912b04611dc7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6674737072696e672f747769672d65787472612d62756e646c653f6c6162656c3d756e737461626c65267374796c653d666c61742d73717561726526696e636c7564655f70726572656c6561736573)](https://github.com/softspring/twig-extra-bundle/releases)[![License](https://camo.githubusercontent.com/11d080715a6d47941c8a6f98c72868bf1b3414a5114b444e72236e5280dc3729/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6674737072696e672f747769672d65787472612d62756e646c653f7374796c653d666c61742d737175617265)](https://github.com/softspring/twig-extra-bundle/blob/6.0/LICENSE)[![PHP Version](https://camo.githubusercontent.com/b5b6802217545c1a16ac0a22341ebab510f6a7fbc3850a6f971c13347b92d69a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f736f6674737072696e672f747769672d65787472612d62756e646c652f7068703f7374796c653d666c61742d737175617265)](https://github.com/softspring/twig-extra-bundle/blob/6.0/composer.json)[![Downloads](https://camo.githubusercontent.com/255d45e4ce24ebf6a5f1639e64dd683fbe48770f49c5e8aae9c5ee1fb39d690a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6674737072696e672f747769672d65787472612d62756e646c653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/softspring/twig-extra-bundle)[![CI](https://camo.githubusercontent.com/dadb8e567c81d97f8f4d4b7e942e375202a072b1d17fb61fba9cd1c0ef33e268/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6674737072696e672f747769672d65787472612d62756e646c652f63692e796d6c3f6272616e63683d362e30267374796c653d666c61742d737175617265266c6162656c3d4349)](https://github.com/softspring/twig-extra-bundle/actions/workflows/ci.yml)[![Coverage](https://camo.githubusercontent.com/bc745504b7ddaa3567ad75e961078508d94494f600b6d620f30afe449ef440e4/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736f6674737072696e672f747769672d65787472612d62756e646c653f6272616e63683d362e30267374796c653d666c61742d737175617265)](https://codecov.io/gh/softspring/twig-extra-bundle)

This bundle adds practical Twig helpers and an extensible `app` variable for Symfony applications.

Armonic
-------

[](#armonic)

This package is part of [Armonic](https://softspring.es/en/armonic).

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

[](#documentation)

[Armonic Documentation](https://armonic.softspring.es/latest/components/twig-extra-bundle)

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

[](#contributing)

See [CONTRIBUTING.md](CONTRIBUTING.md).

[Report issues](https://github.com/softspring/twig-extra-bundle/issues) and [send Pull Requests](https://github.com/softspring/twig-extra-bundle/pulls)

License
-------

[](#license)

This package is free and released under the [AGPL-3.0 license](LICENSE).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance74

Regular maintenance activity

Popularity26

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 86.4% 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 ~11 days

Recently: every ~68 days

Total

140

Last Release

54d ago

Major Versions

4.1.0 → v5.0.0-alpha42022-04-01

v5.5.0-rc7 → 6.0.x-dev2026-03-25

PHP version history (4 changes)4.0.0PHP &gt;=7.4

v5.0.0-rc1PHP &gt;=8.0

5.1.x-devPHP &gt;=8.1

6.0.x-devPHP &gt;=8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/64ac79c0e14e0dd67af72d74bd3531606fb0484230c519a35682d54490f9be5b?d=identicon)[softspring](/maintainers/softspring)

---

Top Contributors

[![javihgil](https://avatars.githubusercontent.com/u/2581053?v=4)](https://github.com/javihgil "javihgil (89 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

symfony-bundletwig-extension

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/softspring-twig-extra-bundle/health.svg)

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91492.0M315](/packages/twig-extra-bundle)[endroid/qr-code-bundle

Endroid QR Code Bundle

32110.6M17](/packages/endroid-qr-code-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)[ehyiah/ux-quill

Symfony UX Bundle to use Quill JS wysiwyg text editor with full and easy customisation

5868.1k2](/packages/ehyiah-ux-quill)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1432.0k](/packages/symfony-ux-toolkit)[damianociarla/rating-bundle

This Bundle provides functionality for a rating system for Symfony applications

236.1k](/packages/damianociarla-rating-bundle)

PHPackages © 2026

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