Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sokil authored Nov 21, 2017
1 parent 8c654a3 commit ad5ea0a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,7 @@ wget http://phpmongokit.github.io/dists/mongo-migrator.phar && chmod +x mongo-mi
> 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-migrator --ignore-platform-reqs
```

Also you need to require adapter of old `ext-mongo` API to new `ext-mongodb`:
You need to require adapter:
```
composer require alcaeus/mongo-php-adapter
```
Expand Down

0 comments on commit ad5ea0a

Please sign in to comment.