A
A
Alexander Stepanov2020-03-21 00:21:18
Composer
Alexander Stepanov, 2020-03-21 00:21:18

How to clear the composer cache and install everything from the Internet?

There is a project on Yii2 advanced and recently one necessary extension has crashed (thankfully on the local), and when I tried to return it through composer update and composer install, it got crooked ....
I googled composer install --no-cache, composer clear-cache, but some the packages were still going Cloning aracadabra from cache... The
problem was eliminated with pandemonium, but I would like to understand how to work with composer completely without cache

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Leonid, 2020-03-21
@Exebeche

the same is taken from the cache as from the Internet
if you need to update with new versions, then you need to delete the lock file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question