Looking to hire Laravel developers? Try LaraJobs

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
Links
Downloads
33

Comments
comments powered by Disqus

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 your to 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.