stojankukrika/laravel-database-log-emails

Log mails into database which go to send process

1.0.1 2017-11-30 07:43 UTC

This package is auto-updated.

Last update: 2024-11-22 20:47:34 UTC


README

A simple database logger for all outgoing emails sent by Laravel application.

You can support me to this project and make some donation.

Installation

Laravel Database Log Emails can be installed via composer by requiring the stojankukrika/laravel-database-log-emails package in your project's composer.json.

{
    "require": {
        "stojankukrika/laravel-database-log-emails": "*"
    }
}

Next add the service provider and the alias to app/config/app.

'providers' => [
    // ...
    stojankukrika\LaravelDatabaseLogEmails\LaravelDatabaseLogEmailsServiceProvider::class,
],

Now, run this in terminal:

php artisan migrate

Usage

After installation, any email sent by your website will be logged to email_logs table in the site's database.