Install mongodb manually in mac high sierra

I followed a lot through google. Evryone having their own prospectives. Here I am posting you the steps to install mongodb-php extension manually which is the best way to install mongodb extension for php in mac. I have done this in mac high sierra.