mustafagenc / login-with-captcha
This package is abandoned and no longer maintained.
No replacement package was suggested.
laravel-admin login with captcha
0.0.1
2019-01-13 22:57 UTC
Requires
- php: >=7.0.0
- encore/laravel-admin: ~1.6
- mews/captcha: ^2.2
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2022-09-25 19:10:00 UTC
README
Screenshot
Installation
composer require mustafagenc/login-with-captcha
Configuration
In the extensions section of the config/admin.php
file, add configurations
'extensions' => [
'login-with-captcha' => [
// set to false if you want to disable this extension
'enable' => true,
]
]
In the resources/lang/en/validation.php
file, add configurations
'captcha' => 'The :attribute is invalid.',
'attributes' => [
'captcha' => 'captcha',
],
If you need to modify the captcha configuration, please see mews/captcha
And in the config/captcha.php
file, add configurations
'admin' => [
'length' => 4,
'width' => 100,
'height' => 32,
'quality' => 95,
'lines' => 3,
'bgImage' => true,
'invert' => false,
'bgColor' => '#ecf2f4',
'fontColors'=> ['#2c3e50', '#c0392b', '#16a085', '#c0392b', '#8e44ad', '#303f9f', '#f57c00', '#795548'],
'contrast' => -5,
'angle' => 12,
'sharpen' => 10,
],
Usage
Open your login page in your browser
License
Licensed under The MIT License (MIT).