php artisan db:seed target class not exist code example
Example 1: seeder class does not exist
composer dump-autoload
Example 2: seeder class does not exist
php artisan optimize
composer dump-autoload
php artisan optimize