LaravelPackages.net
Acme Inc.
Toggle sidebar
dean/login

Nice login page and Add captcha and login attempts for laravel-admin

12
0
v1.0.3
About dean/login

dean/login is a Laravel package for nice login page and add captcha and login attempts for laravel-admin. It currently has 0 GitHub stars and 12 downloads on Packagist (latest version v1.0.3). Install it with composer require dean/login. Discover more Laravel packages by dean or browse all Laravel packages to compare alternatives.

Last updated

login page extension

Nice login page and Add captcha and login attempts for laravel-admin

Installation

composer require dean/login

php artisan vendor:publish --tag dean-login

Configuration

In the extensions section of the config/admin.php file, add configurations

'extensions' => [
     'login' => [
         // set to false if you want to disable this extension
          'enable'=>true,
          
         // set to false if you want to disable captcha validation
         'verificationCodeEnable' => env('APP_ENV')==='production',
     
         // configuration
         'maxAttempts'  => 5,
         'decayMinutes' => 1,
         
         'logoPath'=>'',
         'logoText'=>'',
         'backgroundImagePath'=>'',
         
         'pageTitle'=>''
    ]
]

In the resources/lang/en(example)/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'    => 5,
    'width'     => 120,
    'height'    => 36,
    'quality'   => 90,
],

Usage

Open your login page in your browser

License

Licensed under The MIT License (MIT).

Star History Chart