1.使用中国镜像
composer config -g repo.packagist composer https://packagist.phpcomposer.com
2. 下载
composer create-project --prefer-dist laravel/laravel blog "5.2.*"
composer安装laravel
原文:https://www.cnblogs.com/volcanorao/p/8763260.html