4 years ago

Composer error

Posted 4 years ago by jrean


I'm working on a test project with Laravel 5. Here is the head of my composer.json

"laravel/framework": "5.0.*@dev",
"laravel/elixir": "~1.0",
"illuminate/html": "5.0.*@dev"

This morning I performed a composer update.

I'm stuck with the following error:

Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing laravel/elixir (dev-master a3f69a0)
  - Installing laravel/elixir (dev-master 5ebc551)
    Downloading: 100%

Writing lock file
Generating autoload files
PHP Fatal error:  Class 'Illuminate\Auth\Reminders\ReminderServiceProvider' not found in /Volumes/data/code/xxx/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Illuminate\\Auth\\Reminders\\ReminderServiceProvider' not found","file":"\/Volumes\/data\/code\/xxx\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/ProviderRepository.php","line":157}}Script php artisan clear-compiled handling the post-update-cmd event returned with an error

Error Output: PHP Fatal error:  Class 'Illuminate\Auth\Reminders\ReminderServiceProvider' not found in /Volumes/data/code/xxx/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 157

What should I do, what is the best practice to manage that kind of issue we all encounter a day.

Thank you.

Please sign in or create an account to participate in this conversation.