I have a PHP project where I use composer.
My own main library is actually a required package, as I\'m also building a \"standalone version\" for people to install (
As of a couple minutes ago composer updates will now ask you whether you want to revert the changes or do a stash/apply before/after the package update. This should help quite a bit with such problems, see https://github.com/composer/composer/pull/1188 for details.
You can update only a single or few packages by specifying them at the end for the update comamnd:
composer update pkg1 pkg2 ...
After all these years... I have created a package that makes it easy to develop Composer packages while using them, making use of Composer's "path repositories", but without having to touch composer.json, which might not be desirable in a repository shared with other developers.
Shameless plug, but this was my own question, so I hope this is okay. :)