When you install
or update
a project with composer, you can tell it to skip the development related dependencies (tests, build tools, etc.) with the --no-dev
flag
composer.phar update --no-dev
Without this flag, composer will always download the extra dependencies.
Is there any way (programmatically or otherwise) to tell composer to always skip the development dependencies? That is, is there anything real code that matches the pseudo code
//File: composer.json
//...
"no-dev":"true"
//...