PHPackages                             matthewbaggett/twig-extension-inflect - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. matthewbaggett/twig-extension-inflect

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

matthewbaggett/twig-extension-inflect
=====================================

Trivially pluralise or singularise strings in twig.

v1.3(4y ago)06101GPL-3.0-or-laterPHPPHP ^7.4 || ^8.0

Since May 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/matthewbaggett/Twig-Inflect-Extension)[ Packagist](https://packagist.org/packages/matthewbaggett/twig-extension-inflect)[ RSS](/packages/matthewbaggett-twig-extension-inflect/feed)WikiDiscussions master Synced 1mo ago

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

Twig Inflector
==============

[](#twig-inflector)

Trivially pluralise or singularise strings in twig

[![Build Status](https://camo.githubusercontent.com/e98a08fe9208f3c6e65af8a87cc0f9545018568de641f859705f0f8fa7f080bb/68747470733a2f2f7472617669732d63692e6f72672f676f6e65696f2f547769672d496e666c6563742d457874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/goneio/Twig-Inflect-Extension)

Usage:

```
    {{ variable|singularise }}
```

or

```
    {{ variable|pluralise }}
```

Credits
-------

[](#credits)

Built atop of [Gone.io/inflection](https://github.com/goneio/Inflection), which is in turn built upon the work of others.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Total

3

Last Release

1822d ago

PHP version history (2 changes)v1.1PHP ^7.0 || ^8.0

v1.3PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5707be384b9daab9858223c5dfead9d692e8b5f6afa8dd23ad5c5cbc149316b2?d=identicon)[matthewbaggett](/maintainers/matthewbaggett)

---

Top Contributors

[![matthewbaggett](https://avatars.githubusercontent.com/u/943948?v=4)](https://github.com/matthewbaggett "matthewbaggett (13 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/matthewbaggett-twig-extension-inflect/health.svg)

```
[![Health](https://phpackages.com/badges/matthewbaggett-twig-extension-inflect/health.svg)](https://phpackages.com/packages/matthewbaggett-twig-extension-inflect)
```

###  Alternatives

[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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