1:composer create-project laravel/laravel --prefer-dist
Content-Length mismatch, received xxxx bytes out of the expected xxxx
2:配置阿里镜像
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
3:安装lumen
composer global require "laravel/lumen-installer"
4.用lumen创建项目
5:创建遇到问题
composer create-project --prefer-dist laravel/lumen blog
6:执行项目
php -S localhost:8000 -t public