炸毛框架的快速开始模板,是炸毛框架开箱即用的项目。
注意:本快速模板目前拉取的都是 v2 的版本,如果想使用 v1 的版本,请使用版本号后缀 ^1.4
。
composer create-project zhamao/framework-starter <你的项目名称>
cd <你的项目名称>
vendor/bin/start server
vendor/bin/start server # 以默认模式启动
vendor/bin/start server --log-debug # 以 debug 的日志启动
vendor/bin/start server --debug-mode # 以 debug 调试模式启动
可尝试使用国内镜像源:
# 仅把当前项目的源地址改为国内
composer config repo.packagist composer https://mirrors.aliyun.com/composer/
# 取消国内源地址
composer config --unset repos.packagist