Looking to hire Laravel developers? Try LaraJobs
This package is not available.

monolog-laravel-swiftmailer-handler maintained by sammaye

Description
A Swiftmailer handler for Monolog for use with Laravel
Author
Last update
2020/07/02 18:17 (dev-master)
License
Links
Downloads
40
Tags

Comments
comments powered by Disqus

laravel-monolog-swiftmailer-handler

A handler to bridge Laravel, Monolog and Swiftmailer.

To use it simply include it as a log channel:

'email' => [
    'driver' => 'custom',
    'via' => \sammaye\MonologSwiftMailerHandler\Handler::class,
    'from' => [
        'address' => env('MAIL_LOG_FROM_ADDRESS', 'hello@example.com'),
        'name' => env('MAIL_LOG_FROM_NAME', 'Example'),
    ],
    'to' => env('MAIL_LOG_EMAIL_ADDRESS', 'hello@example.com'),
],

As simple as that.