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

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

ambersive/random-name-generator
===============================

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

131PHP

Since Nov 8Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#random-name-generator)

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

[![Build Status](https://camo.githubusercontent.com/f281c0a59e85ded13f9ec73194d0c908b6fccd85d93a3188cbb0b53616530980/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722e7376673f7374796c653d666c6174)](https://travis-ci.org/nubs/random-name-generator)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e32e67c40848755cc0b6496b095d5717b1ec7cf4a4328e1d81865bc6183c0396/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/nubs/random-name-generator/)[![Coverage Status](https://camo.githubusercontent.com/a35771ce35b5300c56774d9c456aef6e9a660d09296436b278d28402c0f948a8/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6e7562732f72616e646f6d2d6e616d652d67656e657261746f722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/nubs/random-name-generator?branch=master)

[![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)

[![Dependency Status](https://camo.githubusercontent.com/56641008c8e8c9d6a534403bf50b4b827f9085fb73fc2f7683555c7f64acc3d9/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3533376435363138313463313538353561613030303031392f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/537d561814c15855aa000019)

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 nubs/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 = \Nubs\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 \Nubs\RandomNameGenerator\All(
    [
        new \Nubs\RandomNameGenerator\Alliteration(),
        new \Nubs\RandomNameGenerator\Vgng()
    ]
);
```

### 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 \Nubs\RandomNameGenerator\Vgng();
echo $generator->getName();
```

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

[](#alliterative-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-1)

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

#### Usage

[](#usage-2)

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

License
-------

[](#license)

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/80b1e9efacc425a65161eda871719db5a51d598f46e3afc5455009a889c1483a?d=identicon)[sushidev](/maintainers/sushidev)

---

Top Contributors

[![nubs](https://avatars.githubusercontent.com/u/57673?v=4)](https://github.com/nubs "nubs (72 commits)")[![leganz](https://avatars.githubusercontent.com/u/3373530?v=4)](https://github.com/leganz "leganz (3 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (2 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)")

### Embed Badge

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

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

###  Alternatives

[magepow/flipbook

Magento 2 Flipbook

1013.8k](/packages/magepow-flipbook)[palantirnet/drupal-skeleton

A Drupal project template.

141.4k](/packages/palantirnet-drupal-skeleton)

PHPackages © 2026

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