cmd 进入框架根目录 执行命令php think make:(控制器) app\index\controller\(文件名)
Thinkphp5.0 命令行生成文件
原文:https://www.cnblogs.com/syay/p/10869256.html