thinkphp6 安装以及常用命令

EN
EN
2022-06-26 / 0 评论 / 338 阅读 / 正在检测是否收录...

开发手册:https://www.kancloud.cn/manual/thinkphp6_0/1037481

安装TP6( 稳定版 )

composer create-project topthink/think tp

运行

安装后测试运行

php think run

浏览器输入,即可访问首页

http://localhost:8000/

或者指定端口

php think run -p 80

安装多应用模式扩展

composer require topthink/think-multi-app

使用命令创建一个应用

php think build news
  • 在app下创建一个news应用
0

评论 (0)

取消