lyne007 / auth-recaptcha
Add Google reCAPTCHA for laravel-admin.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: >=7.0.0
- encore/laravel-admin: ~1.6
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-04-15 07:05:28 UTC
README
Add Google reCAPTCHA(no perception) for laravel-admin
Screenshot
Installation
composer require lyne007/auth-recaptcha
Configuration
- In the extensions section of the
config/admin.php
file, add configurations
'extensions' => [ 'auth-recaptcha' => [ // set to false if you want to disable this extension 'enable' => true, // set to false if you want to disable icon 'iconDisplay' => true, // reCAPTCHA:v3 keys 'siteKey' => 'your google reCAPTCHA site key', 'secretKey' => 'your google reCAPTCHA secret key', ] ],
Register and get reCAPTCHA keys; https://www.google.com/recaptcha
- Exclude CAPTCHA Interface Restrictions
In the excepts section of the
config/admin.php
file, add configurations
'excepts' => [ 'auth/login', 'auth/logout', // add 'auth/api/recaptcha' ],
Usage
Open your login page in your browser
License
Licensed under MIT License