thinkphp6-命令行

启动服务器

php think run

查看版本

php think version

生成控制器

php think make:controller User

生成模型

php think make:model User

生成中间件

php think make:middleware Auth

生成验证器

php think make:validate User

清除缓存文件

php think clear

输出路由列表

php think route:list
posted @ 2021-10-18 17:32  胡勇健  阅读(132)  评论(0)    收藏  举报