Download the PHP package s4studio/yii2-recaptcha-widget without Composer
On this page you can find all versions of the php package s4studio/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.
[]() []() []()
Urgent
Warning! Classes ReCaptcha
and ReCaptchaValidator
were removed.
Original project provided by himiklab
was dropped.
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 s4studio/yii2-recaptcha-widget contains the following files
Loading the files please wait ....