skip to Main Content

Routing issues in Laravel project

I am working on a Laravel project where I have three types of admins, each with their own login pages. Here are the routes: // Core Admin Routes Route::get('/core-admin', [CoreAuthController::class, 'loadLogin']); Route::post('/core-admin', [CoreAuthController::class, 'login'])->name('login'); Route::middleware('auth')->group(function () { Route::get('/core-admin/dashboard', [CoreAuthController::class, 'coreAdmin']);…

VIEW QUESTION

Slim routing in PHP-DI container

I'm moving a project of mine into Slim Microframework, by using PHP-DI containerization. I need to POST some JSON data to http://localhost/api/base (XAMPP) and get a confirmation (at least at the beginning). This is my index.php: <?php use PsrHttpMessageResponseInterface as…

VIEW QUESTION
Back To Top
Search