https://github.com/irfaardy/lockout-account
Laravel Lockout Account. Lock user account automaticaly if login fails with json.
https://github.com/irfaardy/lockout-account
block json kunci laravel laravel-5-package laravel-framework laravel-package lock-account lockouts penguncian security
Last synced: about 1 year ago
JSON representation
Laravel Lockout Account. Lock user account automaticaly if login fails with json.
- Host: GitHub
- URL: https://github.com/irfaardy/lockout-account
- Owner: irfaardy
- License: mit
- Created: 2020-05-04T02:07:08.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-16T14:37:40.000Z (over 5 years ago)
- Last Synced: 2024-11-15T08:17:52.697Z (over 1 year ago)
- Topics: block, json, kunci, laravel, laravel-5-package, laravel-framework, laravel-package, lock-account, lockouts, penguncian, security
- Language: PHP
- Homepage:
- Size: 101 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 🔒 **JSON Lockout Account for Laravel**
[](https://codeclimate.com/github/irfaardy/lockout-account)
[](https://scrutinizer-ci.com/g/irfaardy/lockout-account/?branch=master) [](https://scrutinizer-ci.com/g/irfaardy/lockout-account/build-status/master) [](https://www.buymeacoffee.com/OBaAofN) [](//packagist.org/packages/irfa/lockout) 

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
```php
composer require irfa/lockout
```
>You can get Composer here
***
🛠️ Laravel Setup
1. Add to config/app.php
```php
'providers' => [
....
Irfa\Lockout\LockoutAccountServiceProvider::class,
];
```
2. Add to config/app.php
```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)
```php
....
LOGIN_ATTEMPS=3
LOGGING=true
```
Usage:
https://github.com/irfaardy/lockout-account/wiki/Usage
------
## How to Contributing
1. Fork it ()
3. Commit your changes (`git commit -m 'Add some Feature'`)
4. Push to the branch (`git push origin version`)
5. 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
***