Answer the question
In order to leave comments, you need to log in
Composer - how to install only dev dependencies?
For example, I have 2 configuration classes for an application.
During development, I want composer to pull one package of dependencies, and another for production.
There is an option --no-dev, it ignores dependencies that are written in require-dev, but how can I make composer take dependencies from require-dev only and ignore the rest?
If you have any ideas, please share. It would also be great if you share your experience of storing configs for development and production.
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question