版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_33679504/article/details/81712083
这个命令要使用cmd,进入项目根目录下执行。或者使用phpstorm自带的terminal工具
创建控制器
php artisan make:controller StudentController
创建模型
php artisan make:model Student
创建中间件
php artisan make:middleware Activity
查看所有的命令
php artisan 或者php artisan list