laravel seeder with relationship code example Example: eloquent run seeder php artisan db:seed --class=UserSeeder