metrakit/faker-eddy-malou

Use Eddy Malou sentences for your dummy texts

1.0.1 2016-04-21 18:56 UTC

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