I have a project with a few dependencies and I\'d like to install another one, but I\'d like to keep the others the way they are. So I\'ve edited the composer.json
composer.json
My use case is simpler, and fits simply your title but not your further detail.
That is, I want to install a new package which is not yet in my composer.json without updating all the other packages.
The solution here is composer require x/y
composer require x/y