Composer, how to upgrade dev dependencies only

Viewed 14

Is there a way to only upgrade require-dev packages and not require ones in composer?

In composer.json I changed several require-dev packages but I don't want the other non-dev packages and their dependencies to change their locked version.

I can't find anything in the docs. The only solution I can think of is to change version in composer.json and launch a composer update <list of all updated packages>, but it's a bit tedious if you have many dependencies to upgrade as in my case.

0 Answers
Related