Answer the question
In order to leave comments, you need to log in
How to use faker in laravel?
I installed faker, I use it like this
$faker = Faker\Factory::create();
$email = $faker->freeEmail;
Answer the question
In order to leave comments, you need to log in
You can connect at the top
and in the code itself alreadyuse Faker\Factory as Faker;
$faker = Faker::create();
$email = $faker->freeEmail;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question