DEV Community

LaraShout
LaraShout

Posted on

2

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)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up