You are here

Classes, traits, and interfaces in reCAPTCHA 8.2

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
Curl class ReCaptcha\RequestMethod recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php Convenience wrapper around the cURL functions to allow mocking.
CurlPost class ReCaptcha\RequestMethod recaptcha-php/src/ReCaptcha/RequestMethod/CurlPost.php Sends cURL request to the reCAPTCHA service. Note: this requires the cURL extension to be enabled in PHP
Drupal8Post class ReCaptcha\RequestMethod src/ReCaptcha/RequestMethod/Drupal8Post.php Sends POST requests to the reCAPTCHA service with Drupal 8 httpClient. 1
Post class ReCaptcha\RequestMethod recaptcha-php/src/ReCaptcha/RequestMethod/Post.php Sends POST requests to the reCAPTCHA service.
ReCaptcha class ReCaptcha recaptcha-php/src/ReCaptcha/ReCaptcha.php reCAPTCHA client. 5
ReCaptchaAdminSettingsForm class Drupal\recaptcha\Form src/Form/ReCaptchaAdminSettingsForm.php Configure reCAPTCHA settings for this site. 1
ReCaptchaBasicTest class Drupal\Tests\recaptcha\Functional tests/src/Functional/ReCaptchaBasicTest.php Test basic functionality of reCAPTCHA module.
RequestMethod interface ReCaptcha recaptcha-php/src/ReCaptcha/RequestMethod.php Method used to send the request to the service. 4 4
RequestParameters class ReCaptcha recaptcha-php/src/ReCaptcha/RequestParameters.php Stores and formats the parameters for the request to the reCAPTCHA service. 4
Response class ReCaptcha recaptcha-php/src/ReCaptcha/Response.php The response returned from the service.
Socket class ReCaptcha\RequestMethod recaptcha-php/src/ReCaptcha/RequestMethod/Socket.php Convenience wrapper around native socket and file functions to allow for mocking.
SocketPost class ReCaptcha\RequestMethod recaptcha-php/src/ReCaptcha/RequestMethod/SocketPost.php Sends a POST request to the reCAPTCHA service, but makes use of fsockopen() instead of get_file_contents(). This is to account for people who may be on servers where allow_url_open is disabled.

Other projects