i ran in a problem using composer for installing/uninstalling some dependencies in laravel which coming back after deleting them from composer.json and deleting the
composer.json
run the following command
rm -rf ~/.composer/cache*
if Permission denied add sudo