Provider Class not found In ProviderRepository.php line 208

Issue

I tried to uninstall the spatie/Geocoder Package
https://github.com/spatie/geocoder
it from my laravel application, it pulled the package from Github but the package uninstallation was not successful.

Below is the Error that is returned by composer command

Terminal Screenshort:

enter image description here

Thanks In advance

Solution

Issue is resolved by just follow these step. Go to your project > bootstrap->cache->config.php remove the provider and aliases from the cached array manually.

Answered By – Moaiz

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published