have problem to install yii2 mongodb extension with composer

I have wamp in my local system and the version of php is 5.5.12, also I installed the drivers and in the phpinfo it is shown that the mongodb is installed as well, but when I want to install mongo extension with composer I face error with the content of “first install mongo driver”. However I’ve tried a lot to install the mongo driver without any success. Please guide me.

show your composer.json file contents. Also, I would personally use ampps over wamp when using mongodb.

it solved , i have 2 problem in my work , first is , there are 2 php.ini in wamp and i changed one of them , and second ini test mongo dll after that i test mongod dll ant it solved