1.首先安装php,配置环境变量

2.在项目代码目录下执行 php -r"eval('?>'.file_get_contents('https://getcomposer.org/installer'));",若出错可尝试将https改成http

相关文章: