1

我注意到...

当我运行' 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).

所以,我想知道...

为什么开发要求的默认行为updateinstall不同?

4

1 回答 1

2

As noted in the release notes of the last release (alpha7), the install package will start defaulting to --dev as well in the near future. The reason they are not the same at the moment was to allow a transitional phase.

于 2013-05-07T13:19:48.883 回答