Reputation: 647
When I try composer update in my Laravel project I have this error on the terminal
In ProviderRepository.php line 208:
Class 'Carbon\Laravel\ServiceProvider' not found
Any suggestions appreciated.
Upvotes: 0
Views: 3299
Reputation: 143
run this command on your project. all require class will be download
composer dump-autoload
Upvotes: 0
Reputation: 647
Ok I solved the problem.
First delete the bootstrap/cache/packages.php then
rm -rf vendor
composer install --no-dev
Upvotes: -2
Reputation: 730
Try deleting the cache in laravel project folder, you navigate to bootstrap folder, then delete items in cache.
Upvotes: 8