As is known from the official manual of this tool, when executing the update or install commands, we can specify the option --no-dev, which will indicate that you do not need to process the packages specified in the require-dev section in the composer.json file (or otherwise specified with launch).

This option can be used when deploying an application to a production server (s). This is quite convenient when using some kind of automatic deployment script. However, if you do it manually, you can often forget to specify this option and get unnecessary packages.

So, the question itself: is it possible in any standard way to once and for all tell Composer that some one environment is the development environment, and some other - the application usage environment, so that it is not required to specify certain options every time start up?

    0