laravel make new seed code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: eloquent run seeder
php artisan db:seed --class=UserSeeder
Example 3: laravel run seeder
php artisan migrate:fresh --seed
php artisan make:seeder NameOfTheSeeder
php artisan db:seed --class=UserSeeder
php artisan migrate:fresh --seed