PHPackages                             oranfry/english-lists - 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. oranfry/english-lists

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

oranfry/english-lists
=====================

1.0.0(1y ago)024PHP

Since Nov 15Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

English Lists
=============

[](#english-lists)

This library enables you to render a PHP array as an English-language list.

For example, the array `['A', 'B', 'C', 'D']` becomes string `'A, B, C, and D'`.

You can designate an alternative to the "and" (such as "or").

You can also turn off the oxford comma.

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

[](#installation)

```
composer require oranfry/english-lists
```

Usage
-----

[](#usage)

```
use EnglishLists\EnglishLists;

$myArray = ['Blood', 'Toil', 'Tears', 'Sweat'];

echo EnglishLists::render(
    $myArray, // the array to render
    'or', // the final separator (default: and)
    false, // don't use an oxford comma (default: use oxford comma)
); // Blood, Toil, Tears or Sweat

echo EnglishLists::render(['One']); // One
echo EnglishLists::render(['One', 'Two']); // One and Two
echo EnglishLists::render(['One', 'Two', 'Three']); // One, Two, and Three
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

541d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c41e9c37b1563d67a678cd021aeecc919a2961f55cc5864041deb2616a3b1587?d=identicon)[oranfry](/maintainers/oranfry)

---

Top Contributors

[![oranfry](https://avatars.githubusercontent.com/u/6006655?v=4)](https://github.com/oranfry "oranfry (2 commits)")

### Embed Badge

![Health badge](/badges/oranfry-english-lists/health.svg)

```
[![Health](https://phpackages.com/badges/oranfry-english-lists/health.svg)](https://phpackages.com/packages/oranfry-english-lists)
```

###  Alternatives

[jasonlewis/resource-watcher

Simple PHP resource watcher library.

221145.8k14](/packages/jasonlewis-resource-watcher)

PHPackages © 2026

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