Reputation: 205
I have this error which block me for anything :
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Laravel\Scout\ScoutServiceProvider' not found
I was trying to remove scout and i think i removed a wrong line. I never touched this file before.
I tried to delete vendor folder, remove the "scout" line in comper.json and did a composer update
But it's not working.
Thanks for your help !
Upvotes: 0
Views: 1382
Reputation: 365
You can also do composer dump-autoload
It works perfectly.
Upvotes: 0
Reputation: 3901
You also need to remove Laravel\Scout\ScoutServiceProvider
from config/app.php
if you wish to remove the package.
Upvotes: 3