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

ActiveCraft-plugin

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 6d 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 54% 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

2226d 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

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

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