laravel 7 Symfony\Component\ErrorHandler\Error\FatalError: Trait 'Illuminate\Database\Eloquent\Factories\HasFactory' not found in file C:\Users\Legion\Desktop\l7rauth\app\User.php on line 13 code example
Example: Error: Class 'Database\Factories\UserFactory' not found
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},