nubs/random-name-generator

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

Installs: 3 839

Dependents: 1

Stars: 9

Watchers: 1

Forks: 1

Open Issues: 1

Language: PHP

v0.2.0 2015-07-30 01:47 UTC

README

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

Build Status Scrutinizer Code Quality Coverage Status

Latest Stable Version Total Downloads License

Dependency Status

Requirements

This library requires PHP 5.4, or newer.

Installation

This package uses composer 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

Video Game Names

The video game name generator is based off of prior art. It will generate unique names based off of "typical" video games.

Examples
  • Kamikaze Bubblegum Warrior
  • Rockin' Valkyrie Gaiden
  • Neurotic Jackhammer Detective
  • My Little Mountain Climber Conflict
  • Small-Time Princess vs. The Space Mutants
Usage
$generator = new \Nubs\RandomNameGenerator\Vgng();
echo $generator->getName();

Alliterative Names

The alliteration name generator is based off of a list of adjectives and a list of animals.

Examples
  • Agreeable Anaconda
  • Disturbed Duck
  • Misty Meerkat
  • Prickly Pig
Usage
$generator = new \Nubs\RandomNameGenerator\Alliteration();
echo $generator->getName();

License

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