Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel faker examples


//For documentation, on tinker, run 'doc FakerFactory::create'

//Using Faker/Factory to generate fake values

$faker = FakerFactory::create();

$faker->email();
$faker->sentence(5);
$faker->paragraph(6);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #faker #examples
ADD COMMENT
Topic
Name
7+6 =