outsmartit/failedlogins

registering failed logins package for Laravel 5

v1.0.1 2019-05-12 13:19 UTC

This package is auto-updated.

Last update: 2024-09-14 22:33:30 UTC


README

Laravel package for registering failed logins into the database.

Based on solution described by Brayniverse.

All failed logins attempts are logged in a table.

Installation

composer require "outsmartit/failedlogins"

Displaying the last logins

The last logins can be checked via url \failedlogins. The default number of logins shown is 10, but can be set in your .env file via parameter

Publishing the view

The standard view extends de "layouts.app" template and shows the last 10 failed logins in a bootstrap table layout. If you want to change the styling you can publish and adapt the view using :

php artisan vendor:publish --provider="Outsmartit\Failedlogins\FailedLoginsServiceProvider"

To change the number of shown failed logins, you can set the value of parameter "FAILEDLOGINS_LIST_MAX" in your .env file