Input

reCAPTCHA

Rule `recaptcha`: Validates reCAPTCHA token.

Usage

Use for bot protection in public forms.

$schema = \Lemonade\Framework\Validation\ValidationSchema::create()
    ->field('field', 'Field')
        ->recaptcha('RECAPTCHA_SECRET')
        ->end();

$result = $validator->validate($payload, $schema);

Stable rule name

recaptcha for translations, registry lookup and per-rule messages.

Group

Custom / External