laravel-logmailer maintained by siantech
Description
Sends hourly email with your Laravel project log files.
Author
Last update
2023/02/27 23:26
(dev-main)
License
Downloads
33
Tags
Laravel LogMailer
Laravel LogMailer is a simple tool that allows your application to send log files to your email address. It's very easy to configure and in just few simple steps it's up & running.
Install
To install, simply run composer require siantech/laravel-logmailer
Config
- run
php artisan vendor:publish --tag=siantech-logmailerto publish config and views. Email view is intentionally left blank so you can customise it however you want. - in
config/logmailer.phpupdate yourtoemail address and (optional)subject. - in
app/Console/Kernel.php, schedule how often you'd like to receive your logs. For example, if you like to receive it hourly, use$schedule->command('siantech:logmailer')->hourly();Read Laravel Schedule Frequency Options documentation.