dump-autoload step needed
Closed this issue · 2 comments
judgej commented
Before this step in the installation:
$ php artisan migrate --seed
I needed to do this:
composer.phar dump-autoload
Without this, I get the following error:
-bash-4.1$ php artisan migrate --seed
Nothing to migrate.
[ReflectionException]
Class CountriesSeeder does not exist
This is a common issue with Laravel when doing:
php artisan vendor:publish
judgej commented
I have a feeling this is fixed in Laravel 5.5, which does a lot more auto-discovery than previous versions, and puts more scripts into namespaces then any previous version. This dump-autoload
can't do any harm though :-)