write seeder in php laravel code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: laravel run seeder
php artisan migrate:fresh --seed
php artisan make:seeder NameOfTheSeeder
php artisan migrate:fresh --seed