nebiros / google-simple-recaptcha-client
Google's Simple reCAPTCHA Client
dev-master
2014-12-30 15:26 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-12-21 17:43:26 UTC
README
Google's simple reCAPTCHA client, this client is just a refactored version of Google's PHP reCAPTCHA lib.
Usage
use Nebiros\GoogleSimpleRecaptchaClient\Client as RecaptchaClient; $recaptchaClient = new RecaptchaClient($recaptchaSecret); $resp = $recaptchaClient->verifyResponse( $_SERVER["REMOTE_ADDR"], $_POST["g-recaptcha-response"] );