Using Model Factories
In the last couple of lessons you've learned about Seeder to generate some amounts of records into your database table. you've also learn faker library which allows you to conveniently generate various kinds of random data.
Now Laravel also provide another feature called model factories which is very convenient to quickly build out “fake” models.
It is very useful for testing and seeding fake data into your database to see your code in action before user enter any real data.
Watch video Laravel Crash Course - Using Model Factories online without registration, duration hours minute second in high quality. This video was added by user TutsPrime 29 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 186 once and liked it 2 people.