LaravelPackages.net
Acme Inc.
Toggle sidebar
irfa/lockout

"Lock account if failed login"

12
3
v1.0.3
About irfa/lockout

irfa/lockout is a Laravel package for "lock account if failed login". It currently has 3 GitHub stars and 12 downloads on Packagist (latest version v1.0.3). Install it with composer require irfa/lockout. Discover more Laravel packages by irfa or browse all Laravel packages to compare alternatives.

Last updated

🔒 JSON Lockout Account for Laravel

Code Climate Scrutinizer Code Quality Build Status Support me Latest Stable Version PHP Composer Buy Me A Coffee

Logo This package is useful for locking an account if someone tries to log into your account, this package can be implemented into the admin dashboard login, information system, cloud, etc.

🛠️ Installation with Composer

composer require irfa/lockout

You can get Composer here


🛠️ Laravel Setup

1. Add to config/app.php

'providers' => [
      	 ....
         Irfa\Lockout\LockoutAccountServiceProvider::class, 
     ];

2. Add to config/app.php

'aliases' => [
         ....
    	'Lockout' => Irfa\Lockout\Facades\Lockout::class,
],

3. Publish Vendor

php artisan vendor:publish --tag=lockout-account

Open .env file and add this line (optional)

....
LOGIN_ATTEMPS=3
LOGGING=true
    

Usage:

https://github.com/irfaardy/lockout-account/wiki/Usage

How to Contributing

  1. Fork it (https://github.com/irfaardy/lockout-account/fork)
  2. Commit your changes (git commit -m 'Add some Feature')
  3. Push to the branch (git push origin version)
  4. Create a new Pull Request

Issue

If you found issues or bug please create new issues here https://github.com/irfaardy/lockout-account/issues/new


LICENSE
GitHub license

Star History Chart