composer/composer — Issue #355: Nothing to install/update after deleting vendor parts
Author: timheil
Created: 2012-02-23 16:20:32+00:00
State: open

Composer stores information on which packages are installed in `vendor/.composer/installed.json`. After deleting some parts of the vendors I'd expect Composer to find those vendors missing. Yet it just prints out (no matter whether called with `install` or `update`)

Nothing to install/update
Generating autoload files

That message is wrong in this case.

As that appeared like a caching problem I would expect a `--cache:clear` or a `--force` option to make sure missing vendors are installed no matter what has been installed (and deleted) earlier on.

What works fine, but might not be evident to everyone:

rm -rf vendor/ && php composer.phar install