sammaye / monolog-laravel-swiftmailer-handler
A Swiftmailer handler for Monolog for use with Laravel
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/sammaye/monolog-laravel-swiftmailer-handler
Requires
- php: >=5.4.0
- illuminate/support: >=5.0
This package is auto-updated.
Last update: 2025-09-29 02:14:45 UTC
README
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.