Laravel — P31: Faker
Published in
10 min readJan 16, 2023
What’s a faker? It’s exactly as it sounds. You’re trying to fake something. Instead of coming up with the data yourself, you simply state, “Faker, give me a unique random email address,” and faker spits it out for you.
In Laravel, Faker
is a library that generates fake data for testing purposes. It can be used to generate random names, addresses, phone numbers, email addresses, and other types of fake data that can be used to…