dskripchenko/yandex-smart-captcha

Yandex Smart Captcha

Installs: 1 180

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/dskripchenko/yandex-smart-captcha

1.1.1 2025-03-12 12:19 UTC

This package is auto-updated.

Last update: 2025-10-12 13:37:15 UTC


README

$ php composer.phar require dskripchenko/yandex-smart-captcha "@dev"

or add

"dskripchenko/yandex-smart-captcha": "@dev"

to the require section of your composer.json file.

Usage

Validation with rules

return [
    'token' => 'yandex_smart_captcha'
];

Validation with value

use \Dskripchenko\YandexSmartCaptcha\Facades\YandexSmartCaptcha;

$token = '...token value';
$ip = 'ip address or null';
$throwable = true; 
$valid = YandexSmartCaptcha::validate($token, $ip, $throwable);