2017 © Pedro Peláez
 

library faker-instrument-names

An instrument name generator for Faker.

image

etelford/faker-instrument-names

An instrument name generator for Faker.

  • Thursday, April 5, 2018
  • by etelford
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

faker-instrument-names Build Status

Generate random instrument names with the help of fzaninotto/Faker., (*1)

Names of instruments were pulled and parsed from MusicBrainz., (*2)

Installation

composer.json:, (*3)

"require": {
    "etelford/faker-instrument-names": "*"
}

Example

Make an instance of Faker and an instance of the InstrumentFaker, add it as a provider and call the instrument method you want., (*4)

$faker = \Faker\Factory::create();
$generator = new \Etelford\InstrumentFaker($faker);
$faker->addProvider($generator);

// Get a random instrument name
echo $faker->instrument;

// Get a random wind instrument name
echo $faker->windInstrument;

// Get a random string instrument name
echo $faker->stringInstrument;

// Get a random percussion instrument name
echo $faker->percussionInstrument;

// Get a random electronic instrument name
echo $faker->electronicInstrument;

The Versions

05/04 2018

dev-master

9999999-dev

An instrument name generator for Faker.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Telford

php library faker etelford instruments musical

05/04 2018

v1.0.2

1.0.2.0

An instrument name generator for Faker.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Telford

php library faker etelford instruments musical

16/09 2017

v1.0.1

1.0.1.0

An instrument name generator for Faker.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Telford

php library faker etelford instruments musical

11/09 2017

v1.0.0

1.0.0.0

An instrument name generator for Faker.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Telford

php library faker etelford instruments musical