LaravelPackages.net
Acme Inc.
Toggle sidebar
soluzione-software/laravel-email-logging

Email logging driver for Laravel.

1.028
0
0.3.1
About soluzione-software/laravel-email-logging

soluzione-software/laravel-email-logging is a Laravel package for email logging driver for laravel.. It currently has 0 GitHub stars and 1.028 downloads on Packagist (latest version 0.3.1). Install it with composer require soluzione-software/laravel-email-logging. Discover more Laravel packages by soluzione-software or browse all Laravel packages to compare alternatives.

Last updated

Laravel Email Logging

Latest Version MIT License

Adds the email driver for logging.

Installation and usage

composer require soluzione-software/laravel-email-logging

create channel config in config/logging.php:

return [
    //...

    'channels' => [
        //...

        'email' => [
            'driver' => 'email',
        ],
    ],
];

Then you can do like follows:

Illuminate\Support\Facades\Log::channel('email')->error('...');

Configuration

See Laravel documentation for configuring channels.

In order to disable email sending, set null value for to option, like follows:

return [

    //...

    'channels' => [
        //...

        'email' => [
            //...
            'to' => null,
        ],
    ],
];

Available Configuration Options

Name | Default ------------- | ------------- level | error to | null from.address | see config mail.from.address from.name | see config mail.from.name

Star History Chart