dev-master
9999999-deva yii2 extendsion for geetest
Apache-2.0
The Requires
by shmilyzxt
extension yii2
a yii2 extendsion for geetest
a yii2 extendsion for geetest, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require shmilyzxt/yii2-geetest "dev-master"
or add, (*4)
"shmilyzxt/yii2-geetest": "dev-master"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
configure module like this:, (*7)
'geetest' => [ "class" => 'shmilyzxt\geetest\Module', 'geetestId' => '42d37cd46fade3f33b516f3f9e50f359', 'geetestKey' => '05c0570759b50e05e14a2cbd15a5c307', ],
<?= \shmilyzxt\geetest\GeetestWidget::widget(['type'=>'popup']); ?>
you may need modify shmilyzxt/yii2-geetest/assets/*.js
and shmilyzxt/yii2-geetest/controller/GeetestController
actionVerifyloginservlet
to deal your validate action., (*8)
a yii2 extendsion for geetest
Apache-2.0
extension yii2