安装tp6:composer create-project topthink/think demo
启用多应用模式:composer require topthink/think-multi-app
启动内置服务:php think run 定制端口:php think run -H tp.com -p 80
查看当前版本:php think version
自动生成应用(需启用多应用模式):php think build demo
创建类库文件(多应用):php think make:controller index@Demo
创建类库文件(单应用):php think make:controller Demo
安装视图驱动:composer require topthink/think-view
清除缓存:php think clear
tp6常用命令
最新推荐文章于 2023-06-30 10:49:03 发布