1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Add --prefer-stable and --prefer-lowest to "require" command

Fixes #5314
This commit is contained in:
Mathias Brodala 2016-05-11 17:16:08 +02:00 committed by Jordi Boggiano
parent d25b52a4d3
commit d9909993b2
2 changed files with 7 additions and 0 deletions

View file

@ -195,6 +195,9 @@ php composer.phar require vendor/package:2.* vendor/package2:dev-master
can take a bit of time to run so it is currently not done by default.
* **--classmap-authoritative (-a):** Autoload classes from the classmap only.
Implicitly enables `--optimize-autoloader`.
* **--prefer-stable:** Prefer stable versions of dependencies.
* **--prefer-lowest:** Prefer lowest versions of dependencies. Useful for testing minimal
versions of requirements, generally used with `--prefer-stable`.
## remove