xiaohuilam/luo-captcha

There is no license information available for the latest version (v1.0) of this package.

Installs: 55

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/xiaohuilam/luo-captcha

v1.0 2017-09-06 09:56 UTC

This package is auto-updated.

Last update: 2025-10-06 11:52:09 UTC


README

The ultimate captcha for chinese end users, luosimao. This package brings you a fast method to install the captcha function into your project.

HOW TO GET LUOSIMAO CAPTCHA

https://luosimao.com/service/captcha

INSTALL

composer require xiaohuilam/luo-captcha
vim .env
#NOCAPTCHA_SITEKEY={site key}
#NOCAPTCHA_SECRET={api key}
vim config/app.php
#add bellow into providers
Luosimao\Captcha\LuoCaptchaServiceProvider::class,

#add bellow into aliases:
'Captcha'     => Luosimao\Captcha\LuoCaptcha::class,

CODE

add this into your form

{!! Form::captcha() !!}

and add this script into your script

{!! Captcha::script() !!}

add validator

$this->validate($request, [
    'luotest_response' => 'required|captcha',
]);

DEMO

11.png 12.png

https://api.wallet.casa/login