Clear Composer Cache

Published on May 19, 2019 16 sec read

We know that composer store cache. For this reason, sometimes we don’t get the latest update of a repository. We miss just updated repository’s latest version.

To get rid of this problem, we need to clear the composer cache. We can do it by typing a simple command.

The command is:

composer clearcache

We can also clear cache by typing this:

composer clear-cache

clear-cache is the alias for clearcache.

The article is over.Thank you. 🙂

Monthly Newsletter

One email a month, packed with the latest tutorials, delivered straight to your inbox.
We'll never send any spam or promotional emails.

Hey, I'm Md Obydullah. I build open-source projects and write article on Laravel, Linux server, modern JavaScript and more on web development.