Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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登陆 滑动验证插件 多平台支持
- Host: GitHub
- URL: https://github.com/asundust/auth-captcha
- Owner: asundust
- License: mit
- Created: 2019-06-25T08:19:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T14:12:41.000Z (over 1 year ago)
- Last Synced: 2024-09-17T23:25:18.920Z (3 months ago)
- Topics: captcha, extension, geetest, hcaptcha, laravel, laravel-admin, recaptcha, vaptcha
- Language: PHP
- Homepage: https://packagist.org/packages/asundust/auth-captcha
- Size: 150 KB
- Stars: 58
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.en.md
- Changelog: CHANGE_LOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-laravel-admin - auth-captcha - laravel-admin登陆 滑动验证插件 (扩展包 / 工具类扩展包)
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)