Fatal error: Uncaught Error: Class "Illuminate\Http\Resources\Json\JsonResource" not found in /home/deborapsol/laravel/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php:11 Stack trace: #0 {main} thrown in /home/deborapsol/laravel/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php on line 11