Hello Friends,
Today, I would like to share with you how to generate fake data using faker in laravel application. laravel provide Faker package to generate fake data.
Faker is a library that generates fake data for a variety of data types. Faker is shipped with Laravel by default so you don’t have to install it as a third-party package.
Faker can be used to generate the following data types.
Numbers
Lorem text
Person i.e. titles, names, gender etc.
Addresses
Phone numbers
Companies
Text
DateTime
Internet i.e. domains, URLs, emails etc.
User Agents
Payments i.e. MasterCard
Colour
Files
Images
uuid
Barcodes
Miscellaneous
I will give you full example for generate fake data using faker in laravel,So Let’s see the bellow step.You will follow the bellow
Link :- https://www.nicesnippets.com/blog/generate-fake-data-using-faker-in-laravel
#laravel #laravel6 #laravel5 #laravel7 #faker #package