Install Mongo db with composer
<p>I have a problem on an dependency installation. </p>

<p>I work on a app who run under php 7 but i've a probleme to correcty install mongodb. </p>

<p>I'm using composer and my require are write like this : </p>

<pre><code>"require": {
    "mongodb/mongodb": "^1.0.0",
    "symfony/yaml": "^3.1",
    "phpmailer/phpmailer": "^5.2",
    "mustache/mustache": "~2.10"
},
"autoload": {
    "psr-0": {
        "uuid": "custom/uuid",
        "RestServer": "custom/RestServer"
    }
}
</code></pre>

<p>}</p>

<p>I've add extension=mongodb.so in my php ini like this :</p>

<pre><code>; Extensions

MAMP_apc_MAMP
extension=imap.so
;extension=gettext.so
extension=mcrypt.so
;extension=yaz.so
extension=pgsql.so
extension=pdo_pgsql.so
extension=mongodb.so
</code></pre>

<p>when I'm going to update my composer I have this message : </p>

<pre><code>➜  classes php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -&gt; the requested PHP extension mongodb is missing from your system.
    - mongodb/mongodb 1.0.1 requires ext-mongodb ^1.1.0 -&gt; the requested PHP extension mongodb is missing from your system.
    - mongodb/mongodb 1.0.0 requires ext-mongodb ^1.1.0 -&gt; the requested PHP extension mongodb is missing from your system.
    - Installation request for mongodb/mongodb ^1.0.0 -&gt; satisfiable by mongodb/mongodb[1.0.0, 1.0.1, 1.0.2].

  To enable extensions, verify that they are enabled in those .ini files:
    - /usr/local/etc/php/7.0/php.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
</code></pre>

<p>I don't understand who's gone wrong. Can you help me devs friends?? </p>

<p>Thanks for advance!</p>