laravel create function on seeder code example Example: eloquent run seeder php artisan db:seed --class=UserSeeder