我注意到了......
当我运行“composer help update
”它告诉我默认启用--dev
选项
--dev Enables installation of require-dev packages (enabled by default, only present for sanity).
启用composer install
的“--no-dev
”命令不是这种情况,
--no-dev Disables installation of require-dev packages (enabled by default, only present for sanity).
所以,我想知道......
为什么update
和install
的默认行为对于开发者要求是不同的?