Search by

spryker / captcha-extension

spryker-bot

CaptchaExtension module

Package info

github.com/spryker/captcha-extension

pkg:composer/spryker/captcha-extension

Statistics

Installs: 4

Dependents: 4

Suggesters: 0

Stars: 0

1.0.0 2026-11-16 14:58 UTC

This package is auto-updated.

Last update: 2026-11-16 16:06:07 UTC


README

Latest Stable Version Minimum PHP Version

CaptchaExtension module provides the plugin interfaces and transfers of the Captcha module. Spryker\Client\CaptchaExtension\Dependency\Plugin\CaptchaProviderPluginInterface connects a CAPTCHA vendor: createChallenge(), verify(), getResponseFieldName() and isConfigured(), which says whether the provider settings are set up; the Back Office refuses to turn the CAPTCHA on while it returns false. A provider can also implement Spryker\Client\CaptchaExtension\Dependency\Plugin\CaptchaChallengeUrlProviderPluginInterface: createChallengeUrlWidget() requires context and challengeUrl and returns a widget that fetches its challenge from CaptchaChallengeRequest.challengeUrl, so a page render creates no challenge, and createChallengeData() creates the challenge and returns its JSON document in CaptchaChallengeDataResponse.challengeData. Spryker\Shared\CaptchaExtension\Dependency\Plugin\CaptchaRequirementPluginInterface::isCaptchaRequired() is the step-up plugin for the Yves and Zed login forms: in the after_failed_attempts CAPTCHA mode the Captcha module requires a CAPTCHA for a login form context when any plugin returns true, for example the security blocker plugins after failed login attempts.

Installation

composer require spryker/captcha-extension

Documentation

Spryker Documentation