2017 © Pedro Peláez
 

captcha captcha

中文验证码

image

kangkang66/captcha

中文验证码

  • Wednesday, November 2, 2016
  • by kangkang66
  • Repository
  • 2 Watchers
  • 4 Stars
  • 2,276 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

中文验证码

Geetest Image Demo, (*1)

Installation

Laravel 5.0.0 or later is required., (*2)

To get the latest version of Laravel Markdown, simply require the project using Composer:, (*3)

$ composer require kangkang66/captcha

Next, You should need to register the service provider. Open up config/app.php and add following into the providers key., (*4)

\Chinesecaptcha\ChinesecaptchaServiceProvider::class

How to use it, (*5)

//引用验证码
public function Captcha(Chinesecaptcha $chinesecaptcha)
{
    $chinesecaptcha->outPut();
}

//验证
public function Valid(Request $request)
{
     //1.使用验证规则
     $validParams = [
            'captcha'   => 'required|chinesecaptcha',
     ];
     //2.直接使用 session
     $str = session()->get('captcha');
}

The Versions

02/11 2016

dev-master

9999999-dev

中文验证码

  Sources   Download

The Requires

  • php >=5.3.0
  • ext-gd *

 

by hankangkang

02/11 2016

v1.0

1.0.0.0

中文验证码

  Sources   Download

The Requires

  • php >=5.3.0
  • ext-gd *

 

by hankangkang

01/11 2016

v0.1

0.1.0.0

中文验证码

  Sources   Download

The Requires

  • php >=5.3.0
  • ext-gd *

 

by hankangkang