创建lumen

1:composer create-project laravel/laravel --prefer-dist

Content-Length mismatch, received xxxx bytes out of the expected xxxx

创建lumen
2:配置阿里镜像

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

3:安装lumen

composer global require "laravel/lumen-installer"

4.用lumen创建项目
创建lumen
5:创建遇到问题

composer create-project --prefer-dist laravel/lumen blog

6:执行项目

php -S localhost:8000 -t public

创建lumen

上一篇:2021年最新Laravel从入门到核心架构讲解(laravel教程)


下一篇:Docker composer搭建Spring Cloud Alibaba 运行环境(二)