ReCaptcha
  • Namespace
  • Class
  • Tree
  • Todo

Namespaces

  • DevStrefa
    • ReCaptcha
      • Senders

Classes

  • FgcSender

Interfaces

  • SenderInterface

Class FgcSender

File Get Contents Sender

This is very simple implementation of SenderInterface it's using php file_get_contents function to get response from reCaptcha endpoint

DevStrefa\ReCaptcha\Senders\FgcSender implements DevStrefa\ReCaptcha\Senders\SenderInterface
Namespace: DevStrefa\ReCaptcha\Senders
License: MIT
Author: Cichy d3ut3r@gmail.com
Version: 1.0.0
Located at src/DevStrefa/ReCaptcha/Senders/FgcSender.php

Methods summary

public DevStrefa\ReCaptcha\Response
# send( string $secret, string $response, string $remoteIp )

Make request and return Response Object

Make request and return Response Object

Parameters

$secret
$response
$remoteIp

Returns

DevStrefa\ReCaptcha\Response
Response Object

Implementation of

DevStrefa\ReCaptcha\Senders\SenderInterface::send()

Constants summary

string ENDPOINT

Contains url to google verify service

Contains url to google verify service

# 'https://www.google.com/recaptcha/api/siteverify'
ReCaptcha API documentation generated by ApiGen