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