Skip to content

Latest commit

 

History

History
executable file
·
25 lines (17 loc) · 556 Bytes

README.md

File metadata and controls

executable file
·
25 lines (17 loc) · 556 Bytes

faker-eddy-malou

A Faker provider for use Eddy Malou sentences as dummy text.

Install

composer require metrakit/faker-eddy-malou

Usage

$faker = new Faker\Generator();
$faker->addProvider(new Metrakit\EddyMalou\EddyMalouProvider($faker));
$faker->addProvider(new Metrakit\EddyMalou\TextProvider($faker));

This will replace some faker native functions :

sentence             // One sentence
paragraph($nb = 3)   // Many sentences, by default it's 3