Answers for "Target class [WineController] does not exist. laravel"

PHP
2

Target class [SallyController] does not exist.

//In laravel 8 uncomment  protected $namespace='App\\Http\\Controllers';
Posted by: Guest on February-12-2021
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 [WineController] does not exist. laravel"

Browse Popular Code Answers by Language