setQuery([ 'secret' => $_ENV['RECAPTCHA_SECRET'], 'response' => $response ]); $response = $request->send(); return json_decode($response->getBody(), true); } }