PHPackages                             probablyrational/random-name-generator - 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. probablyrational/random-name-generator

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

probablyrational/random-name-generator
======================================

A library to create interesting, sometimes entertaining, random names. (Based on nubs/random-name-generator)

v2.2.3(4y ago)229.6k↑20.7%1MITPHPPHP ~5.6 || ~7.0 || ~8.0

Since May 22Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ProbablyRational/random-name-generator)[ Packagist](https://packagist.org/packages/probablyrational/random-name-generator)[ RSS](/packages/probablyrational-random-name-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (10)Used By (0)

Random Name Generator
=====================

[](#random-name-generator)

A PHP library to create interesting, sometimes entertaining, random names. Based on [nubs/random-name-generator](https://github.com/nubs/random-name-generator)!

This fork will be maintained with adinitial generators intended for duct.me

[![Latest Stable Version](https://camo.githubusercontent.com/ed010da1f4f2fc105aa7458627dc0e25b645eee3f9d9ba5365ba1308158582da/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/nubs/random-name-generator)[![Total Downloads](https://camo.githubusercontent.com/548a86197b2d82ea604d13c8e8c0d24c33a21e5ff636a838ea7cd31a511de014/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/nubs/random-name-generator)[![License](https://camo.githubusercontent.com/fe7640de5d617f0d472269fd336c52d87f49ec18177451b992fef3318674698c/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722e7376673f7374796c653d666c6174)](https://packagist.org/packages/nubs/random-name-generator)

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

[](#requirements)

This library requires PHP 5.6, or newer.

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

[](#installation)

This package uses [composer](https://getcomposer.org) so you can just add `nubs/random-name-generator` as a dependency to your `composer.json` file or execute the following command:

```
composer require probablyrational/random-name-generator
```

Generators
----------

[](#generators)

### All

[](#all)

The "all" generator will utilize all other configured generators to generate random names. It will select from the list of generators randomly and then use them to generate a random name using their functionality.

#### Usage

[](#usage)

```
$generator = \ProbablyRational\RandomNameGenerator\All::create();
echo $generator->getName();
```

Alternatively, if you want to configure/build the generators to use instead of using all of the available generators, you can construct them yourself:

```
$generator = new \ProbablyRational\RandomNameGenerator\All(
    [
        new \ProbablyRational\RandomNameGenerator\Alliteration(1),
        new \ProbablyRational\RandomNameGenerator\Vgng(1),
        new \ProbablyRational\RandomNameGenerator\Sketch(1)
    ]
);
```

### Video Game Names

[](#video-game-names)

The video game name generator is based off of [prior](http://videogamena.me/)[art](https://github.com/nullpuppy/vgng). It will generate unique names based off of "typical" video games.

#### Examples

[](#examples)

- *Kamikaze Bubblegum Warrior*
- *Rockin' Valkyrie Gaiden*
- *Neurotic Jackhammer Detective*
- *My Little Mountain Climber Conflict*
- *Small-Time Princess vs. The Space Mutants*

You can also use [this web example](http://sam.sbat.com/) to see more example video game names generated by this library.

#### Usage

[](#usage-1)

```
$generator = new \ProbablyRational\RandomNameGenerator\Vgng(1);
echo $generator->getName();
```

Alliterative Names
------------------

[](#alliterative-names)

The sketchy name generator is based off of a server called [verylegit](https://github.com/defaultnamehere/verylegit.link).

#### Examples

[](#examples-1)

- *Agreeable Anaconda*
- *Disturbed Duck*
- *Misty Meerkat*
- *Prickly Pig*

#### Usage

[](#usage-2)

```
$generator = new \ProbablyRational\RandomNameGenerator\Alliteration(1);
echo $generator->getName();
```

Sketchy Names
-------------

[](#sketchy-names)

The alliteration name generator is based off of a list of [adjectives](http://grammar.yourdictionary.com/parts-of-speech/adjectives/list-of-adjective-words.html)and a list of [animals](https://animalcorner.co.uk/animals/).

#### Examples

[](#examples-2)

- *Verification-safe.com2Fcryptolocker.js3Fauthorize=action*
- *Facebook.com2Ftrojan.gp3Fjava0day=x64*
- *Google.com2Fpccleaner.rar3Fpassword=pccleaner*
- *Appleeid-apple.com2Fwebcam.gp3Flogin=ip-camera*

#### Usage

[](#usage-3)

```
$generator = new \ProbablyRational\RandomNameGenerator\Sketch(1);
echo $generator->getName();
```

License
-------

[](#license)

random-name-generator is licensed under the MIT license. See [LICENSE](LICENSE) for the full license text.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 70.8% 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 ~350 days

Recently: every ~468 days

Total

9

Last Release

1578d ago

Major Versions

v0.2.0 → v1.0.02016-01-12

v1.0.0 → v2.0.02016-09-15

PHP version history (5 changes)v0.1.0PHP &gt;=5.3.2

v0.2.0PHP ~5.4 || ~7.0

v1.0.0PHP ~5.5 || ~7.0

v2.0.0PHP ~5.6 || ~7.0

v2.2.3PHP ~5.6 || ~7.0 || ~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/10c7ae0cae2e0d9af73bec18987dc295197263f59df700e220b795e40a90907d?d=identicon)[ProbablyRational](/maintainers/ProbablyRational)

---

Top Contributors

[![nubs](https://avatars.githubusercontent.com/u/57673?v=4)](https://github.com/nubs "nubs (68 commits)")[![hcaz](https://avatars.githubusercontent.com/u/2422207?v=4)](https://github.com/hcaz "hcaz (25 commits)")[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (1 commits)")[![cmendes0101](https://avatars.githubusercontent.com/u/753513?v=4)](https://github.com/cmendes0101 "cmendes0101 (1 commits)")[![jaketoolson](https://avatars.githubusercontent.com/u/612332?v=4)](https://github.com/jaketoolson "jaketoolson (1 commits)")

---

Tags

randomgeneratorvideo gamealliterationsketchy

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/probablyrational-random-name-generator/health.svg)

```
[![Health](https://phpackages.com/badges/probablyrational-random-name-generator/health.svg)](https://phpackages.com/packages/probablyrational-random-name-generator)
```

###  Alternatives

[nubs/random-name-generator

A library to create interesting, sometimes entertaining, random names.

135680.2k3](/packages/nubs-random-name-generator)[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

381368.5k](/packages/ihor-nspl)[gladcodes/keygen

A fluent PHP random key generator.

119668.9k2](/packages/gladcodes-keygen)[markrogoyski/itertools-php

Iteration tools for PHP

14911.3k](/packages/markrogoyski-itertools-php)[delight-im/random

The most convenient way to securely generate anything random in PHP

2345.4k](/packages/delight-im-random)

PHPackages © 2026

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