PHPackages                             williamisted/plural - 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. williamisted/plural

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

williamisted/plural
===================

Simple plural plugin for Craft - Usage: {{ entries | length | plural('result') }}

2.0.0(6y ago)6952proprietaryPHPCI failing

Since Apr 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/WilliamIsted/craft-plural)[ Packagist](https://packagist.org/packages/williamisted/plural)[ RSS](/packages/williamisted-plural/feed)WikiDiscussions master Synced 3w ago

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

Plural plugin for Craft CMS 3.x
===============================

[](#plural-plugin-for-craft-cms-3x)

Simple plural plugin for Craft

[![Screenshot](resources/img/screenshot.png)](resources/img/screenshot.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0-beta.23 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require WilliamIsted/plural

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Plural.

Using Plural
------------

[](#using-plural)

Twig filter: `{{ powerPlant.lastAccident | plural( 'day' ) }} since last accident.`

Twig function: `{% set dayPlural = plural( powerPlant.lastAccident, 'day' ) %}{{ dayPlural }} since last accident.`

```
{{ entries | length | plural('result') }} found.
```

Output: `2 results found.`

```
{{ 0 | plural('result') }} found.
```

Output: `0 results found.`

```
{{ 1 | plural('result') }} found.
```

Output: `0 result found.`

```
{{ 1 | plural('result', 'foobars') }} found.
```

Output: `1 result found.`

```
{{ 2 | plural('result', 'foobars') }} found.
```

Output: `2 foobars found.`

Plural Roadmap
--------------

[](#plural-roadmap)

Some things to do, and ideas for potential features:

- If you have any simple functionality improvements to propose or issues, create a ticket here: [GitHub](https://github.com/WilliamIsted/CraftPlural/issues)

Brought to you by [William Isted](https://twitter.com/WilliamIsted)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Every ~0 days

Total

2

Last Release

2272d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5830878?v=4)[William Isted](/maintainers/WilliamIsted)[@WilliamIsted](https://github.com/WilliamIsted)

---

Top Contributors

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

---

Tags

pluralcmsCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/williamisted-plural/health.svg)

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

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/navigation

Create navigation menus for your site.

92705.0k18](/packages/verbb-navigation)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/workflow

Enforce multi-step review processes for creating entries.

138124.1k1](/packages/verbb-workflow)

PHPackages © 2026

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