📌  相关文章
📜  laravel 用模型制作控制器 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:53.146000             🧑  作者: 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