insert to db on table seeder laravel code example
Example 1: laravel make seeder
php artisan make:seeder NameOfTheSeeder
Example 2: how to make db seeder in laravel
php artisan make:seeder UsersTableSeeder
php artisan make:seeder NameOfTheSeeder
php artisan make:seeder UsersTableSeeder