It’s very often that you want to change the PHP version in order to install different softwares in your development environment. But the MAMP version in your system comes with pre-installed version of PHP, and you want to go with it.
osx
Installing Composer on Mac OSX
Composer is a dependency management tool for php projects. By using composer, you can just declare the dependecy in your project and composer will handle/download this for you.
On Mac safari facebook app not returning the current users details
Safari 3rd party cookie iframe trick no longer working? I have faced this same problem while developing the Facebook application. I found a good stuff in stack overflow