Answers for "Target class [App\\Http\\Controllers\\apiController] does not exist.""

PHP
2

Target class [App\Http\Controllers\EmployeeController] does not exist.

[PagesController::class, 'index']
Posted by: Guest on November-30-2020
0

Target class [AppController] does not exist.

public function boot()
{
    ...

    Route::prefix('api')
        ->middleware('api')
        ->namespace('App\Http\Controllers') // <---------
        ->group(base_path('routes/api.php'));

    ...
}
Posted by: Guest on August-27-2021

Code answers related to "Target class [App\\Http\\Controllers\\apiController] does not exist.""

Browse Popular Code Answers by Language