damchii's avatar

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

Hi I am kinda new on laravel and I am trying to create a login with fortify. The command line php artisan route:list returns me the error

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

I did update the RouteServiceProvider to add the namespace varibale but that does not fixs it I also tried php artisan cache:clear

php artisan config:clear

php artisan route:clear

these are my routes

    ['middleware' => 'auth'],function(){
    AdvancedRoute::controller('orders', 'OrderController');
});

Route::get('auth/login', 'Auth\AuthController@create')->name('login');
0 likes
2 replies
damchii's avatar

@jlrdw thxs, I already change the RouteProvivederService to add the namespace

Please or to participate in this conversation.