diviky / laravel-security
Provides security settings and login history
Installs: 23 095
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 1
Requires
- php: ^8.2
- bacon/bacon-qr-code: ^2.0
- bepsvpt/secure-headers: ^7.0
- diviky/bright: ^4.0|^5.0
- geocoder-php/chain-provider: ^4.0
- geocoder-php/geoip2-provider: ^4.0
- matomo/device-detector: ^3.12
- pragmarx/google2fa-laravel: ^2.0
- pragmarx/recovery: ^0.2
- toin0u/geocoder-laravel: ^4.4
Requires (Dev)
- diviky/code-analysis: ^2.0|^3.0
- laravel/framework: ^11.28
This package is auto-updated.
Last update: 2024-12-18 14:25:29 UTC
README
Installation
Package requires Laravel 7 or higher, and PHP 7.0+.
You may use Composer to install package into your Laravel project:
composer require diviky/laravel-security
Configuration
After installing the package, publish its config, migration and view, using the vendor:publish
Artisan command:
php artisan vendor:publish --provider="Diviky\Security\SecurityServiceProvider"
Next, you need to migrate your database. The Laravel Authentication Log migration will create the table your application needs to store authentication logs:
php artisan migrate
Avaliable Middlewars
'firewall.blacklist' 'firewall.whitelist' 'firewall.attacks' '2fa' '2fa.remember' '2fa.stateless' 'security.password' // Check is password very older 'security.headers' // Add headers
License
Laravel Authentication Log is open-sourced software licensed under the MIT license.