laravel composer安装

1.按照 中文镜像 配置全局镜像:

composer config -g repo.packagist composer https://packagist.laravel-china.org

2.再次尝试:

composer create-project laravel/laravel Laravel --prefer-dist "5.*.*"

你可能感兴趣的:(laravel composer安装)