📜  laravel 创建控制器 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.552000             🧑  作者: Mango

代码示例6
Simple controller:
php artisan make:controller nameOfController  
  
Want to create controller in a folder? use it like this:
php artisan make:controller NameOfFolder/nameOfController  
  
Resource Controller:This controller will create all CRUD methods
php artisan make:controller nameOfController --resource