在运行composer create-project之前,请先修改composer全局配置文件
> composer config -g repo.packagist composer https://packagist.phpcomposer.com //修改composer全局配置文件
> composer create-project --prefer-dist laravel/laravel blog
感谢这篇文文
在运行composer create-project之前,请先修改composer全局配置文件
> composer config -g repo.packagist composer https://packagist.phpcomposer.com //修改composer全局配置文件
> composer create-project --prefer-dist laravel/laravel blog
感谢这篇文文