Laravel Utwórz kontroler
php artisan make:controller MyController
Eranot
php artisan make:controller MyController
php artisan make:controller PhotoController --resource --model=Photo
Route::resource('photos', PhotoController::class);
php artisan make:controller PhotoController --resource --model=Photo
php artisan make:resource ResourceName
php artisan make:controller User/AdminController -r