Download the PHP package kekaadrenalin/yii2-recaptcha-widget without Composer
On this page you can find all versions of the php package kekaadrenalin/yii2-recaptcha-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-recaptcha-widget
Google reCAPTCHA widget for Yii2 (fork himiklab/yii2-recaptcha-widget)
Based on Google reCaptcha API 2.0 and 3.0.
[]() []() []()
Upgrade to 2.x version
Warning! Classes ReCaptcha
and ReCaptchaValidator
is deprecated. Please replace their to ReCaptchaConfig
,
ReCaptcha2
and ReCaptchaValidator2
.
Installation
The preferred way to install this extension is through composer.
- Either run
or add
to the require
section of your application's composer.json
file.
- Configure the component in your configuration file (web.php). The parameters siteKey and secret are optional. But if you leave them out you need to set them in every validation rule and every view where you want to use this widget. If a siteKey or secret is set in an individual view or validation rule that would overrule what is set in the config.
or use DI container:
- Add
ReCaptchaValidator2
orReCaptchaValidator3
in your model, for example:
v2
v3
Usage
For example:
v2
v3
or
v2
v3
- NOTE: Please disable ajax validation for ReCaptcha field!
Resources
All versions of yii2-recaptcha-widget with dependencies
PHP Build Version
Package Version
The package kekaadrenalin/yii2-recaptcha-widget contains the following files
Loading the files please wait ....