Artisan 命令行

参考:Laravel 的 Artisan 命令行工具

Artisan 命令行

使用

// 创建控制器
$ php artisan make:controller StudentController
// 创建模型
$ php artisan make:model Student
// 创建中间件
$ php artisan make:middleware Activity

Last updated

Was this helpful?