PHPackages                             coolstudio/words-php - 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. coolstudio/words-php

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

coolstudio/words-php
====================

A collection of word lists for various categories and languages

1.0.4(1y ago)013MITPHPPHP &gt;=7.2.0

Since Mar 12Pushed 1y ago2 watchersCompare

[ Source](https://github.com/cool-studio/words-php)[ Packagist](https://packagist.org/packages/coolstudio/words-php)[ RSS](/packages/coolstudio-words-php/feed)WikiDiscussions main Synced 1mo ago

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

Words PHP
=========

[](#words-php)

A PHP library containing word lists for various categories and languages. This library is generated from the [cool-studio/words](https://github.com/cool-studio/words) repository.

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

[](#installation)

You can install the package via composer:

```
composer require words-studio/words-php
```

Usage
-----

[](#usage)

### Getting all words in a list

[](#getting-all-words-in-a-list)

```
use Words\EN\Animals;

// Get all words
$allAnimals = Animals::words();
```

### Getting a random word

[](#getting-a-random-word)

```
use Words\EN\Animals;

// Get a random word
$randomAnimal = Animals::word();
```

Available Word Lists
--------------------

[](#available-word-lists)

The library includes the following word lists:

### English (EN)

[](#english-en)

- Animals
- SciFi
- Space
- Tech
- Words (General words)

Generating/Updating Word Lists
------------------------------

[](#generatingupdating-word-lists)

Word lists are generated from the [cool-studio/words](https://github.com/cool-studio/words) repository. To update the word lists or generate new ones:

1. Make sure you have Node.js installed
2. Run the generation script:

```
node generate.js
```

This will:

1. Clone or update the words repository
2. Generate PHP classes for each word list
3. Update the version in composer.json

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE file for details.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance45

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 83.3% 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 ~1 days

Total

2

Last Release

430d ago

### Community

Maintainers

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

---

Top Contributors

[![J4Wx](https://avatars.githubusercontent.com/u/3397311?v=4)](https://github.com/J4Wx "J4Wx (10 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coolstudio-words-php/health.svg)

```
[![Health](https://phpackages.com/badges/coolstudio-words-php/health.svg)](https://phpackages.com/packages/coolstudio-words-php)
```

###  Alternatives

[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1406.4M16](/packages/nikolaposa-version)[whatthejeff/nyancat-scoreboard

Nyan Cat Scoreboard

19985.0k4](/packages/whatthejeff-nyancat-scoreboard)[symfony/ux-swup

Swup integration for Symfony

33147.8k1](/packages/symfony-ux-swup)

PHPackages © 2026

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