Fatal error: Uncaught Error: Class "Illuminate\Http\Resources\Json\JsonResource" not found in /home/alkhalaffamily/public_html/test/app/Http/Resources/StatisticsResource.php:7 Stack trace: #0 {main} thrown in /home/alkhalaffamily/public_html/test/app/Http/Resources/StatisticsResource.php on line 7