metrakit / faker-eddy-malou
Use Eddy Malou sentences for your dummy texts
Installs: 2 643
Dependents: 0
Suggesters: 0
Security: 0
Stars: 17
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- fzaninotto/faker: ~1
Requires (Dev)
This package is not auto-updated.
Last update: 2024-12-05 01:28:56 UTC
README
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