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
I think, you can run your composer commands with --no-cache option flag like
composer
--no-cache
composer install --no-cache
Or
composer require --no-cache
composer update [] --no-cache