2017 © Pedro Peláez
 

yii2-extension yii2-geetest

a yii2 extendsion for geetest

image

shmilyzxt/yii2-geetest

a yii2 extendsion for geetest

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-geetest

a yii2 extendsion for geetest, (*1)

Installation

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)

Usage

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']); ?>

Note

you may need modify shmilyzxt/yii2-geetest/assets/*.js and shmilyzxt/yii2-geetest/controller/GeetestController actionVerifyloginservlet to deal your validate action., (*8)

The Versions

23/09 2016

dev-master

9999999-dev

a yii2 extendsion for geetest

  Sources   Download

Apache-2.0

The Requires

 

extension yii2