Download the PHP package mwguerra/email-security-manager without Composer
On this page you can find all versions of the php package mwguerra/email-security-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mwguerra/email-security-manager
More information about mwguerra/email-security-manager
Files in mwguerra/email-security-manager
Package email-security-manager
Short Description A robust Laravel package for managing email verification, password security, and audit trails
License MIT
Informations about the package email-security-manager
Laravel Email Security Manager
A comprehensive Laravel package for managing email verification and password security with built-in audit trails. This package helps you enforce security best practices and comply with data protection regulations.
Key Features
-
π‘οΈ Enhanced Security
- Force periodic email reverification
- Require regular password changes
- Support for multiple authentication models
- Configurable expiry periods
-
π Complete Audit Trail
- Track all verification events
- Monitor password changes
- Record security-related actions
- Polymorphic relationships for flexibility
-
π Automated Security
- Middleware for automatic checks
- Event-driven audit logging
- Bulk operation support
- Configurable security policies
- π Compliance Ready
- GDPR compliance support
- LGPD requirements
- CCPA alignment
- Security best practices
Requirements
- PHP 8.2 or higher
- Laravel 11.0 or higher
Installation
Setup
-
Publish the configuration and migrations:
-
Run the migrations:
- Add the
HasEmailSecurity
trait to your authenticatable models:
Configuration
Basic Configuration
Configure your authenticatable models and security settings in config/email-security.php
:
Middleware Setup
Add the middleware to your app/Http/Kernel.php
:
Usage
Basic Usage
Multiple Authentication Models
Bulk Operations
Middleware Usage
Audit Trail
Advanced Features
Events
The package automatically listens for and logs these Laravel events:
Illuminate\Auth\Events\Verified
Illuminate\Auth\Events\PasswordReset
Testing
Security
If you discover any security issues, please email [email protected] instead of using the issue tracker.
Credits
- Marcelo W. Guerra
- All Contributors
Special Thanks
Special thanks to the Beer and Code Laravel Community for all the support, feedback, and great discussions that helped shape this package. Their dedication to sharing knowledge and fostering collaboration in the Laravel ecosystem is truly inspiring. πΊπ¨βπ»
About
I'm a software engineer specializing in Laravel and PHP development. Visit mwguerra.com to learn more about my work.
License
The MIT License (MIT). Please see License File for more information.