PHPackages                             bastian/inflector - 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. bastian/inflector

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

bastian/inflector
=================

A comprehensive package for converting singular nouns to their plural and back.

1.0(12y ago)147MITPHP

Since Apr 12Pushed 12y ago1 watchersCompare

[ Source](https://github.com/BastianHofmann/Inflector)[ Packagist](https://packagist.org/packages/bastian/inflector)[ RSS](/packages/bastian-inflector/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Inflector
=========

[](#inflector)

A package to transform english words from singular to plural and back.

Usage
-----

[](#usage)

```
Inflector\Inflector::plural('Tree'); // Trees

Inflector\Inflector::singular('Cakes'); // Cake

Inflector\Inflector::plural('Fish'); // Fish
```

Providers may be used to retrieve uncommon irregular words.

```
Inflector\Inflector::setProvider(new Inflector\JsonProvider);
```

Providers must implement the `Inflector\ProviderInterface`.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

4461d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4151945?v=4)[BastianHofmann](/maintainers/BastianHofmann)[@BastianHofmann](https://github.com/BastianHofmann)

---

Top Contributors

[![BastianHofmann](https://avatars.githubusercontent.com/u/4151945?v=4)](https://github.com/BastianHofmann "BastianHofmann (1 commits)")

### Embed Badge

![Health badge](/badges/bastian-inflector/health.svg)

```
[![Health](https://phpackages.com/badges/bastian-inflector/health.svg)](https://phpackages.com/packages/bastian-inflector)
```

PHPackages © 2026

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