PHPackages                             kevinkaske/pluralize - 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. kevinkaske/pluralize

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

kevinkaske/pluralize
====================

A simple PHP lib to turn words into their plural form

053PHP

Since Mar 22Pushed 7y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

pluralize
=========

[](#pluralize)

A simple PHP lib to turn words into their plural form. Based on the rules from Rails pluralize.

Install via composer
--------------------

[](#install-via-composer)

Installation of pluralize is through [composer](https://getcomposer.org).

To get started quickly, run the following command

```
composer require kevinkaske/pluralize
```

Usage
-----

[](#usage)

```
pluralize(single_string,number_int);
```

#### Example 1:

[](#example-1)

```
$balloon_number = 1;

echo 'You have '.$balloon_number.' '.pluralize('balloon',$balloon_number).'!';
```

Would output `You have 1 balloon!`

#### Example 2:

[](#example-2)

```
$balloon_number = 2;

echo 'You have '.$balloon_number.' '.pluralize('balloon',$balloon_number).'!';
```

Would output `You have 2 balloons!`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5472ecb8f0873860a9325bde1f1c1fef2e203cd95d0aabf48015855d7386b0b0?d=identicon)[kevinkaske](/maintainers/kevinkaske)

---

Top Contributors

[![kevinkaske](https://avatars.githubusercontent.com/u/172011?v=4)](https://github.com/kevinkaske "kevinkaske (7 commits)")

### Embed Badge

![Health badge](/badges/kevinkaske-pluralize/health.svg)

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

PHPackages © 2026

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