An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# 🔒 **JSON Lockout Account for Laravel**

[![Code Climate](https://codeclimate.com/github/irfaardy/lockout-account/badges/gpa.svg)](https://codeclimate.com/github/irfaardy/lockout-account)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/irfaardy/lockout-account/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/irfaardy/lockout-account/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/irfaardy/lockout-account/badges/build.png?b=master)](https://scrutinizer-ci.com/g/irfaardy/lockout-account/build-status/master) [![Support me](https://img.shields.io/badge/Support-Buy%20me%20a%20coffee-yellow.svg?style=flat-square)](https://www.buymeacoffee.com/OBaAofN) [![Latest Stable Version](https://flat.badgen.net/packagist/v/irfa/lockout/latest?label=Version)](//packagist.org/packages/irfa/lockout) ![PHP Composer](https://github.com/irfaardy/lockout-account/workflows/PHP%20Composer/badge.svg?branch=master)
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

```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
***

**LICENSE**

GitHub license