Skip to content
Advertisement

Composer loading from cache

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 their vendor folder, i initially used dflydev’s markdown package but now i wanted to change it to michelf’s php-markdown, but i cant uninstall the old one since it comes back loaded from cache, which i checked at AppDataRoamingComposer and is empty, any clue on to why this is happening?

  - Installing dflydev/markdown (dev-master dee1f7a)
    Loading from cache

Advertisement

Answer

You can use the following command to clear the cache irrespective of the OS you are on:

php composer.phar clear-cache

or if composer is installed globally

composer clear-cache
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement