2017 © Pedro Peláez
 

library faker-extra

Extra providers for the Faker library

image

ikwattro/faker-extra

Extra providers for the Faker library

  • Saturday, December 19, 2015
  • by ikwattro
  • Repository
  • 1 Watchers
  • 6 Stars
  • 7,488 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 17 % Grown

The README.md

Faker Extra Providers

Extra providers for the Faker Library ., (*1)

Installation

With composer :, (*2)

composer require ikwattro/faker-extra

Add the needed providers to the generator :, (*3)

$faker = new \Faker\Generator();
$faker->addProvider(new \Ikwattro\FakerExtra\Provider\Skill($faker));

\FakerExtra\Provider\Skill

programming languages

Based on the Wikipedia list of programming languages http://en.wikipedia.org/wiki/List_of_programming_languages, (*4)

$language = $faker->progLanguage;

// e.g.: Cobolt

\FakerExtra\PersonExtra

fullName

Use the base \Person provider to generate a name containing a firstName and a lastName, (*5)

$fullname = $faker->fullName;

// e.g. : Duncan Satterfield

\FakerExtra\Hashtag

Returns hashtags from a list of more than 2000 hashtags, (*6)

Parameters : `$nb = 1`, `$withHash = false`

$hashtag = $faker->hashtag;
// e.g.: banana

$hashtags = $faker->hashtag(5);
// e.g.: banana,php,neo4j,instalove,rock

$hashtags = $faker->hashtag(3, true):
// e.g.: #graph,#opcode,#angry

Author

Christophe Willemsen : twitter, (*7)


License

Released under the MIT License, (*8)

The Versions

19/12 2015

dev-master

9999999-dev

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random

19/12 2015

1.0.0

1.0.0.0

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random

21/10 2014

0.4.0

0.4.0.0

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random

17/10 2014

0.3.0

0.3.0.0

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random

17/10 2014

0.2.0

0.2.0.0

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random

16/10 2014

0.1.0

0.1.0.0

Extra providers for the Faker library

  Sources   Download

MIT

The Requires

 

The Development Requires

faker generation provider random