Clear Composer Cache

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. ?