irfa / lockout
"Lock account if failed login"
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 3
Open Issues: 0
Type:package
Requires
- php: >=7.0
- ext-json: *
- laravel/framework: ^5.5|^6.0|^7.0
README
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/UsageHow to Contributing
- Fork it (https://github.com/irfaardy/lockout-account/fork)
- Commit your changes (
git commit -m 'Add some Feature'
) - Push to the branch (
git push origin version
) - 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