Whether for database seeding or general testing, you're going to love model factories in Laravel 5.1. A single line of code can give you a huge amount of convenience and power.
Published on Nov 11th, 2015.
Understand.io is used by hundreds of Laravel developers to find and fix errors.
Sign up for a free 14-day trial now.