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