resource controller in laravel

Solutions on MaxInterview for resource controller in laravel by the best coders in the world

showing results for - "resource controller in laravel"
Aurore
09 Apr 2017
1php artisan make:controller MyController
Luisa
17 Apr 2017
1php artisan make:controller UserController
Yael
31 Jul 2017
1php artisan make:controller PhotoController --resource --model=Photo
2Route::resource('photos', PhotoController::class);
Louisa
31 Jan 2020
1php artisan make:controller PhotoController --resource --model=Photo
Leo
01 Jan 2017
1Simple controller:
2php artisan make:controller nameOfController  
3  
4Want to create controller in a folder? use it like this:
5php artisan make:controller NameOfFolder/nameOfController  
6  
7Resource Controller:This controller will create all CRUD methods
8php artisan make:controller nameOfController --resource
Allison
31 Jan 2021
1php artisan make:controller RequestRevisionController --resource
2
similar questions
queries leading to this page
resource controller in laravel