PHPackages                             fungio/twig-extensions - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. fungio/twig-extensions

ActiveLibrary[Localization &amp; i18n](/categories/localization)

fungio/twig-extensions
======================

Common additional features for Twig that do not directly belong in core

3.0.x-dev(3y ago)013MITPHPPHP ^7.1.3|^8.0

Since Nov 16Pushed 3y agoCompare

[ Source](https://github.com/fungio/Twig-extensions)[ Packagist](https://packagist.org/packages/fungio/twig-extensions)[ RSS](/packages/fungio-twig-extensions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Twig Extensions Repository
==========================

[](#twig-extensions-repository)

**WARNING**: This repository is abandoned in favor of Twig Core Extra extensions.

- *ArrayExtension*: `shuffle` filter -&gt; no equivalent
- *DateExtension*: `time_diff` filter -&gt; no equivalent
- *I18nExtension*: `trans` filter -&gt; use the [trans](https://symfony.com/doc/current/reference/twig_reference.html#trans) filter from the Symfony Translator extension (symfony/twig-bridge)
- *IntlExtension*: `localizeddate`, `localizednumber`, `localizedcurrency`filters: use the Twig intl extra extension: [format\_date](https://twig.symfony.com/doc/3.x/filters/format_date.html), [format\_number](https://twig.symfony.com/doc/3.x/filters/format_number.html), [format\_currency](https://twig.symfony.com/doc/3.x/filters/format_currency.html), ...
- *TextExtension*: `truncate`, `wordwrap` filters: use the Twig string extra extension: [u filter](https://twig.symfony.com/doc/3.x/filters/u.html)

This repository hosts Twig Extensions that do not belong to the core but can be nonetheless interesting to share with other developers.

More Information
----------------

[](#more-information)

Read the [documentation](http://twig-extensions.readthedocs.io/) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.7% 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

Unknown

Total

1

Last Release

1270d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7378b53697fa50132f56acea5d0a7626f177a939a2aef964c4137a9da3c03053?d=identicon)[fungio](/maintainers/fungio)

---

Top Contributors

[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (160 commits)")[![OskarStark](https://avatars.githubusercontent.com/u/995707?v=4)](https://github.com/OskarStark "OskarStark (8 commits)")[![fungio](https://avatars.githubusercontent.com/u/2470117?v=4)](https://github.com/fungio "fungio (3 commits)")[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (3 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (2 commits)")[![Garfield-fr](https://avatars.githubusercontent.com/u/48578?v=4)](https://github.com/Garfield-fr "Garfield-fr (2 commits)")[![Trainmaster](https://avatars.githubusercontent.com/u/2514421?v=4)](https://github.com/Trainmaster "Trainmaster (2 commits)")[![joserobleda](https://avatars.githubusercontent.com/u/1263865?v=4)](https://github.com/joserobleda "joserobleda (2 commits)")[![mhor](https://avatars.githubusercontent.com/u/4103719?v=4)](https://github.com/mhor "mhor (1 commits)")[![ornicar](https://avatars.githubusercontent.com/u/140370?v=4)](https://github.com/ornicar "ornicar (1 commits)")[![pyguerder](https://avatars.githubusercontent.com/u/6534215?v=4)](https://github.com/pyguerder "pyguerder (1 commits)")[![qpleple](https://avatars.githubusercontent.com/u/774546?v=4)](https://github.com/qpleple "qpleple (1 commits)")[![rgazelot](https://avatars.githubusercontent.com/u/1488251?v=4)](https://github.com/rgazelot "rgazelot (1 commits)")[![ricardclau](https://avatars.githubusercontent.com/u/613725?v=4)](https://github.com/ricardclau "ricardclau (1 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (1 commits)")[![soullivaneuh](https://avatars.githubusercontent.com/u/1698357?v=4)](https://github.com/soullivaneuh "soullivaneuh (1 commits)")[![sroze](https://avatars.githubusercontent.com/u/804625?v=4)](https://github.com/sroze "sroze (1 commits)")[![Szymciosek](https://avatars.githubusercontent.com/u/3597951?v=4)](https://github.com/Szymciosek "Szymciosek (1 commits)")[![vslavik](https://avatars.githubusercontent.com/u/145881?v=4)](https://github.com/vslavik "vslavik (1 commits)")

---

Tags

i18ntext

### Embed Badge

![Health badge](/badges/fungio-twig-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/fungio-twig-extensions/health.svg)](https://phpackages.com/packages/fungio-twig-extensions)
```

###  Alternatives

[symfony/string

Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way

1.8k724.1M825](/packages/symfony-string)[symfony/intl

Provides access to the localization data of the ICU library

2.6k199.8M1.1k](/packages/symfony-intl)[gettext/gettext

PHP gettext manager

70530.2M101](/packages/gettext-gettext)[jms/translation-bundle

Puts the Symfony Translation Component on steroids

42510.8M63](/packages/jms-translation-bundle)[sepia/po-parser

Gettext \*.PO file parser for PHP.

1271.5M19](/packages/sepia-po-parser)[gettext/languages

gettext languages with plural rules

7530.3M10](/packages/gettext-languages)

PHPackages © 2026

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