If you have this errors: SSL:_CA_certificate_set,_but_certificate_verification_is_disabled
By default, PHP uses Apple's CURL that uses Apple's Secure Transport under Yosemite and the target of the URL request doesn't support SSLv3.
brew install --with-openssl curl
brew install php56 --with-homebrew-curl