Download the PHP package m1roff/yii2-recaptcha-widget without Composer
On this page you can find all versions of the php package m1roff/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
Based on Google reCaptcha API 2.0 and 3.0.
Forked version of https://packagist.org/packages/himiklab/yii2-recaptcha-widget.
[]()
Installation
The preferred way to install this extension is through composer.
-
Either run
- 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 m1roff/yii2-recaptcha-widget contains the following files
Loading the files please wait ....