composer create-project安装laravel项目失败

  1. 修改composer全局配置文件
composer config -g repo.packagist composer https://packagist.phpcomposer.com
  1. 安装larabel项目
composer create-project --prefer-dist laravel/laravel blog

原文地址:http://www.fidding.me/article/38

happy coding!

你可能感兴趣的:(composer create-project安装laravel项目失败)