DEV Community

Sanz
Sanz

Posted on • Updated on • Originally published at laravelproject.com

Quicker Way to Seed Records in Laravel

Sometimes, there might be a situation where you need to insert a lot of test data into the database. Usually for testing purposes and performance in laravel.

However, seeding huge amount of records can take exceptionally long time and is not ideal when you’re in a state where you have to frequently seed database.

So, let’s try to improve the seeding time so that we won’t have a hard time waiting for it to finish.

https://laravelproject.com/optimize-database-seeder-in-laravel-for-faster-seeding/

Top comments (0)