DEV Community

LaraShout
LaraShout

Posted on

Using Laravel Model Factories To Generate Dummy Data

Laravel Model Factories allow you to generate fake data for your eloquent models. Model Factories are very useful for testing and seeding fake data to see if your application work as it suppose to be.

In this post, we will look at how we can create model factories and generate dummy data using the Faker Library which ships with Laravel.

Read the full article at https://www.larashout.com/using-laravel-model-factories-to-generate-dummy-data

Top comments (0)