siantech / laravel-logmailer
Sends hourly email with your Laravel project log files.
1.0.0
2023-02-27 21:19 UTC
Requires
- php: >=8.1
- illuminate/console: ^9.0|^10.0
- illuminate/mail: ^9.0|^10.0
- illuminate/queue: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
README
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-logmailer
to publish config and views. Email view is intentionally left blank so you can customise it however you want. - in
config/logmailer.php
update yourto
email 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.