src/InvisibleReCaptcha.php
public function verifyResponse($response, $clientIp)
    {
        if (empty($response)) {
            return false;
        }

        $response = $this->sendVerifyRequest([
            'secret' => $this->secretKey,
            'remoteip' => $clientIp,
            'response' => $response
        ]);

        return isset($response['success']) && $response['success'] === true;
    }
public function verifyResponse($response, $clientIp)
    {
        if (empty($response)) {
            return false;
        }

        $response = $this->sendVerifyRequest([
            'secret' => $this->secretKey,
            'remoteip' => $clientIp,
            'response' => $response
        ]);

        return isset($response['success']) && $response['success'] === true;
    }
public function verifyResponse ( $ response , $ clientIp ) { if ( empty ( $ response ) ) { return false ; } $ response = $ this -> sendVerifyRequest ( [ 'secret' => $ this -> secretKey , 'remoteip' => $ clientIp , 'response' => $ response ] ) ; return isset ( $ response [ 'success' ] ) && $ response [ 'success' ] === true ; }
Verify invisible reCaptcha response.

@param string $response
@param string $clientIp

@return bool
Verify invisible reCaptcha response .