CoolCMS API

ReCaptcha

Table of Contents

Classes

ReCaptchaRuntime
Decides at runtime whether front forms use reCAPTCHA, which version and with which keys.
RuntimeReCaptchaBinding
`$form->addInvisibleReCaptcha()` that picks the real or the disabled field when the form is built, not when the container is compiled — the operator can switch reCAPTCHA in the administration.
RuntimeReCaptchaProvider
The library's provider takes both keys in its constructor (compiled into the DI container). This one asks {@see ReCaptchaRuntime} each time, so keys changed in the administration apply without rebuilding the container.
On this page

Search results