gabrieliuga / laravel-mail-log
Record all outgoing emails from.
Installs: 22 302
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 3
Requires
- php: ^7.2|^8.0
- laravel/framework: >=6.2
Requires (Dev)
- doctrine/dbal: ^2.10
- orchestra/testbench: ^5.0
- phpunit/phpunit: ^8.5
README
Log all outgoing emails from your laravel application
Installation
You can install the package via composer:
composer require gabrieliuga/laravel-mail-log
Usage
php artisan migrate
php artisan vendor:publish --tag=maillog-config
Setup auto clear command in app/Console/Kernel.php add ClearOldEmails::class
/** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ ClearOldEmails::class, ]; /** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { $schedule->command('giuga:purge-mail-log')->daily(); }
Testing
phpunit
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email me@iuga.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.