In this video I am explaining what is the purpose of seeders in laravel with a simple example.
Commands used in this demo:
# To create seeder file
php artisan make:seeder CustomerSeeder
# To run seeder file
php artisan db:seed --class=CustomerSeeder
Complete Project github link:
[ Ссылка ]
Laravel tutorials palylist:
[ Ссылка ]
If you like my videos please do subscribe to my channel.
[ Ссылка ]
Thanks.
Ещё видео!