windows下安装composer使用Composer-Setup.exe安装出现问题
问题1:The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl
缺少openssl,未安装或未启用
问题二:The OpenSSL library (0.9.8zb) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.
openssl lib版本问题
http://docs.phpcomposer.com/00-intro.html#Using-Composer
可以直接下载composer.phar,如果是windows下需要composer.bat,该文件关联了php.exe,如果php.exe没有全局化,该文件需要和php.exe同一目录,然后composer.bat所在目录加入环境变量PATH中,即可在全局中使用composer install命令。