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

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

ghostwriter/inflector
=====================

Convert words between singular and plural forms in PHP.

0.1.x-dev(1mo ago)02.1kBSD-3-ClausePHPPHP ~8.4.0 || ~8.5.0CI passing

Since Apr 3Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/ghostwriter/inflector)[ Packagist](https://packagist.org/packages/ghostwriter/inflector)[ Docs](https://github.com/ghostwriter/inflector)[ GitHub Sponsors](https://github.com/sponsors/ghostwriter)[ RSS](/packages/ghostwriter-inflector/feed)WikiDiscussions 0.1.x Synced 1mo ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

Inflector
=========

[](#inflector)

[![GitHub Sponsors](https://camo.githubusercontent.com/793dc2ee32b25921fdc750425b9fb2477ec517e95bb6160f87f3234550e0ba91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f67686f73747772697465723f6c6162656c3d53706f6e736f722b4067686f73747772697465722f696e666c6563746f72266c6f676f3d4769744875622b53706f6e736f7273)](https://github.com/sponsors/ghostwriter)[![Automation](https://github.com/ghostwriter/inflector/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/inflector/actions/workflows/automation.yml)[![Supported PHP Version](https://camo.githubusercontent.com/fbcdbc991212fda0344654c906ce03881186f010746630213edb8f850c172026/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f67686f73747772697465722f696e666c6563746f723f636f6c6f723d383839326266)](https://www.php.net/supported-versions)[![Downloads](https://camo.githubusercontent.com/1c88955dd690c58c8c82401a82792c53502b77560abe8796d7e3f307ed7461da/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f67686f73747772697465722f696e666c6563746f723f636f6c6f723d626c7565)](https://packagist.org/packages/ghostwriter/inflector)

work in progress

Warning

This project is not finished yet, work in progress.

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

[](#installation)

You can install the package via composer:

```
composer require ghostwriter/inflector
```

### Star ⭐️ this repo if you find it useful

[](#star-️-this-repo-if-you-find-it-useful)

You can also star (🌟) this repo to find it easier later.

Usage
-----

[](#usage)

```
// work in progress
```

### Credits

[](#credits)

- [Nathanael Esayeas](https://github.com/ghostwriter)
- [All Contributors](https://github.com/ghostwriter/inflector/contributors)

### Changelog

[](#changelog)

Please see [CHANGELOG.md](./CHANGELOG.md) for more information on what has changed recently.

### License

[](#license)

Please see [LICENSE](./LICENSE) for more information on the license that applies to this project.

### Security

[](#security)

Please see [SECURITY.md](./SECURITY.md) for more information on security disclosure process.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance91

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dbb0131801cc451dad9917ab29aa823b25d7eebc9f3875a9d481d109bdb44ee?d=identicon)[ghostwriter](/maintainers/ghostwriter)

---

Top Contributors

[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (768 commits)")

---

Tags

ghostwriterinflectorinflectorghostwriter

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[doctrine/inflector

PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.

11.4k855.8M711](/packages/doctrine-inflector)[mmucklo/inflect

inflect - a memoizing inflector for php

4023.1M13](/packages/mmucklo-inflect)

PHPackages © 2026

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