@什么是Composer
#是一个PHP程序依赖管理工具(管理包和库),受到node npm和ruby的启发
@PHP版本要求
#PHP 5.3.2+以上版本
@windows下安装
#开启openssl拓展
#下载CA证书,下载地址:http://curl.haxx.se/docs/caextract.html 存到本地D:\phpStudy\tmp\
#修改php.ini,openssl.cafile = "D:\phpStudy\tmp\cacert.pem"
#开启CURL,设置php.ini的配置。allow_url_fopen = On, user_agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
#登录VPN composer因为一些你懂的原因,安装容易失败。
#Window 的composer下载地址https://getcomposer.org/Composer-Setup.exe