下载地址:https://getcomposer.org/download/ 按照上述方法Composer是最新版本,我的phpstudy是php56n,同时打开php扩展中的php_openssl 按照步骤就可以完成啦。