How to remove unused dependencies from composer?

The Solution to How to remove unused dependencies from composer? is


The right way to do this is:

composer remove jenssegers/mongodb --update-with-dependencies

I must admit the flag here is not quite obvious as to what it will do.

Update

composer remove jenssegers/mongodb

As of v1.0.0-beta2 --update-with-dependencies is the default and is no longer required.

~ Answered on 2015-04-03 18:48:31


Most Viewed Questions: