php artisan db:seed --class=UserSeeder laravel code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: make seeder laravel
php artisan make:seeder UserSeeder
php artisan make:seeder NameOfTheSeeder
php artisan make:seeder UserSeeder