Переглянути джерело

Update require command's documentation

Olivier Laurendeau 10 роки тому
батько
коміт
af79a104d9
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      doc/03-cli.md

+ 3 - 0
doc/03-cli.md

@@ -165,6 +165,9 @@ php composer.phar require vendor/package:2.* vendor/package2:dev-master
 
 * **--prefer-source:** Install packages from `source` when available.
 * **--prefer-dist:** Install packages from `dist` when available.
+* **--ignore-platform-reqs:** ignore `php`, `hhvm`, `lib-*` and `ext-*`
+  requirements and force the installation even if the local machine does not
+  fulfill these.
 * **--dev:** Add packages to `require-dev`.
 * **--no-update:** Disables the automatic update of the dependencies.
 * **--no-progress:** Removes the progress display that can mess with some