'How to run seeder in Laravel 5.1 with class parameter
I Use laravel 5.1 , I received "Class MySeederClass does not exist " when use --class in php artisan db::seed(like php artisan db::seed --class=MySeederClass) , but when I run this command without class parameter, every thing is ok, what is this parameter problam??
Solution 1:[1]
If somebody will have the same error just try to update your composer auto loader class with command.
composer dump-autoload
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Den Kison |
