outsmartit / failedlogins
registering failed logins package for Laravel 5
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- laravel/framework: >=5.5.0
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