From dedd34e70c30c7251ce95b9c1fd902ee64b147e9 Mon Sep 17 00:00:00 2001 From: Sokil Date: Wed, 22 Nov 2017 06:47:24 +0200 Subject: [PATCH] Update README.md --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 986f4ec..09cfad0 100644 --- a/README.md +++ b/README.md @@ -116,18 +116,11 @@ Download latest release: > To start using PHPMongo with PHP7, add requirement [alcaeus/mongo-php-adapter](https://github.com/alcaeus/mongo-php-adapter) to composer. > Restrictions for using ODM with compatibility layer you can read in [known issues](https://github.com/alcaeus/mongo-php-adapter#known-issues) of original adapter. -Library `sokil/php-mongo` depends from old `ext-mongo` so you need to require dependency with `--ignore-platform-reqs` flag: -``` -composer require sokil/php-mongo --ignore-platform-reqs -``` - -Also you need to require adapter of old `ext-mongo` API to new `ext-mongodb`: +Require adapter of old `ext-mongo` API to new `ext-mongodb`: ``` composer require alcaeus/mongo-php-adapter ``` - - #### Symfony bundle If you use Symfony framework, you can use [Symfony MongoDB Bundle](https://github.com/sokil/php-mongo-bundle) which wraps this library