Fatal error: Uncaught Error: Class 'Illuminate\Http\Resources\Json\ResourceCollection' not found in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Http\Resources\Json\AnonymousResourceCollection.php:5
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Http\Resources\Json\AnonymousResourceCollection.php on line 5