Reputation: 397
I just install backpack as service provider through composer, and i need to uninstall it. its just to remove the classes form config/app and delete the folders? or how ti do it?
Upvotes: 2
Views: 7023
Reputation: 321
In my case I create a service provider that was cache by application, so I can't run artisan to clear cache after remove it. IN this case just go to bootstrap/cache
and remove cache file manually. Now you can use artisan to cache application again.
Upvotes: 0
Reputation: 3261
Yes, first you have to remove it from config/app.php file
. Then you can do it in two ways. Just like @lado commented, do
composer remove package/name
Or remove package/name from composer.json file and do
composer update
Upvotes: 4