Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/asundust/auth-captcha

Sliding captcha for laravel-admin auth / laravel-admin登陆 滑动验证插件 多平台支持
https://github.com/asundust/auth-captcha

captcha extension geetest hcaptcha laravel laravel-admin recaptcha vaptcha

Last synced: about 1 month ago
JSON representation

Sliding captcha for laravel-admin auth / laravel-admin登陆 滑动验证插件 多平台支持

Awesome Lists containing this project

README

        

Sliding captcha for Laravel-Admin auth, Multiple platform support
======
Sliding captcha for Laravel-Admin auth, Multiple platform support

**For more details, please read [README.md](README.md)**

### Screen Shot
![img](https://github.com/asundust/images/blob/master/images/auth-captcha-screenshot.png?raw=true)

### Installation
```
composer require asundust/auth-captcha
```

### Configuration
- In the extensions section of the `config/admin.php` file, add configurations
```
'extensions' => [
'auth-captcha' => [
// set to false if you want to disable this extension
'enable' => true,
'provider' => 'xxxxxx',
// style of captcha
'style' => 'xxxxxx',
// configuration
'appid' => env('AUTH_CAPTCHA_APPID'),
'secret' => env('AUTH_CAPTCHA_SECRET'),
'secret_key' => env('AUTH_CAPTCHA_SECRET_KEY'),
'ext_config' => [],
],
]
```

- In the `.env` file, add configurations
```
AUTH_CAPTCHA_APPID=xxxxxx
AUTH_CAPTCHA_SECRET=xxxxxx
```

- In the `resources/lang/zh-CN(example).json` file, add configurations
```
"Sliding validation failed. Please try again.": "滑动验证未通过,请重试。",
"Please complete the validation.": "请完成验证。",
"Config Error.": "配置错误。"
```

### Usage
Open your login page in your browser

### Notices for upgrading
[UPGRADE.md](UPGRADE.md)

### Change Log
[CHANGE_LOG.md](CHANGE_LOG.md)

### License
[The MIT License (MIT)](https://opensource.org/licenses/MIT)