skip to Main Content

Laravel Namespace Resource Controller Routing

I was working on a laravel project. The following is the code of my UserController: <?php namespace AppHttpControllersBackendAdminUsers; use AppModelsUser; use IlluminateHttpRequest; use SpatiePermissionModelsRole; use AppHttpControllersController; use IlluminateSupportFacadesSession; use AppRepositoriesInterfacesUserRepositoryInterface; class UserController extends Controller { protected $userRepository; public function __construct(UserRepositoryInterface…

VIEW QUESTION

Laravel 9 Route [login] not defined

api.php file:- <?php use AppHttpControllersUserController; use IlluminateHttpRequest; use IlluminateSupportFacadesRoute; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which…

VIEW QUESTION
Back To Top
Search