Run Specific Seeder in Laravel Command Example
In this quick example i will show you how to run specific seeder laravel. So run specific seeder laravel is the todays tutorial. I will discuss how to run specific seeder in laravel.
So from this tutorial you will learn laravel run specific seeder. This article will help you to learn in detailed on laravel call specific seeder. So let's discuss about laravel run one seed.
Now assume you have a
AdminSeeder class and now you would like seed it in your database. So run below command to run specific seeder laravel.
php artisan db:seed --class=AdminSeeder
Hope it can help you.