소스 검색

Update installation instructions

This adds an @beta constraint for mongodb/mongodb until that library is stable.
Andreas Braun 10 년 전
부모
커밋
f63ff989e8
1개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 1
      README.md

+ 9 - 1
README.md

@@ -30,7 +30,15 @@ The preferred method of installing this library is with
 [Composer](https://getcomposer.org/) by running the following from your project
 root:
 
-    $ composer require "alcaeus/mongo-php-adapter=dev-master"
+    $ composer require "alcaeus/mongo-php-adapter=dev-master" "mongodb/mongodb=@beta"
+
+If your project includes a library that requires `ext-mongo` you need to also
+specify a `provide` option in your composer.json:
+    "provide": {
+        "ext-mongo": "1.6.12"
+    }
+
+Due to a limitation in composer you need to specify this in the root package.
 
 # Known issues