Answers for "class "illuminate\foundation\auth\user" not found"

PHP
1

Class "AppUser" not found

Go to config/auth.php and change this file
'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => AppModelsUser::class,
        ],
    ]
Posted by: Guest on November-21-2021
0

auth.php Class "AppUser" not found

Go to config/auth.php and change AppUser:class to AppModelsUser::class.

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => AppModelsUser::class,
    ],
Also change the namespace of User.php model

namespace AppModels;
Posted by: Guest on July-17-2021

Code answers related to "class "illuminate\foundation\auth\user" not found"

Browse Popular Code Answers by Language