PHP Error: Class 'Database\Factories\User' not found in code example
Example: Error: Class 'Database\Factories\UserFactory' not found
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},