Reputation: 381
I executed these 2 commands:
composer require realrashid/sweet-alert
composer require infinety/alerts *@dev
They are packages to use SweetAlert on Laravel but they are not working and I found a better one, I want to remove them, when I do composer remove vendor/realrashid
or composer remove vendor/infinety
it say that the package is not installed and is not required in my composer.json, so It has not been removed but the package is still here..
Upvotes: 2
Views: 8811
Reputation: 68
you have to run this command in your terminal: composer remove vendor/package_name
Upvotes: 0
Reputation: 895
Another way is to go to your composer.json
file and then remove that certain package then recall the 'composer update
' method. Since composer remove
will completely remove the library to your composer cache because you might using that library to other projects so when you try to composer install again that library, composer will download that package again instead of checking the composer cache memory.
Upvotes: 1
Reputation: 3912
No need to use vendor
. Just composer remove realrashid/sweet-alert
.
Upvotes: 11