$chunk, 'notification' => [ 'title' => $title, 'body' => $body, ], 'data' => $data, 'priority' => 'high', ]; $response = Http::withHeaders([ 'Authorization' => 'key=' . $serverKey, 'Content-Type' => 'application/json', ])->post('https://fcm.googleapis.com/fcm/send', $payload); if (!$response->successful()) { Log::warning('FCM request gagal', [ 'status' => $response->status(), 'body' => $response->body(), ]); } } } }