创建lumen
作者:互联网
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
标签:laravel,dist,lumen,创建,prefer,composer,xxxx 来源: https://blog.csdn.net/weixin_44133711/article/details/114300204