Registry / auth / google-recaptcha

google-recaptcha

JSON →
library1.4.2phppackagistunverified

Client library for reCAPTCHA, a free service that protects websites from spam and abuse.

composer require google/recaptcha
INSTALL
IMPORT
SIG · GOOGLE-RECAPTCHA
G
google-recaptcha
authphpv1.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ReCaptcha
use ReCaptcha\ReCaptcha;

Verify a reCAPTCHA response from a form submission.

use ReCaptcha\ReCaptcha; $recaptcha = new ReCaptcha('your-secret-key'); $response = $recaptcha->verify($_POST['g-recaptcha-response']); if ($response->isSuccess()) { // Verified }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
34
Resources