zoparga/laravel-email-database-log

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

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/zoparga/laravel-email-database-log

0.9.2 2023-02-09 06:12 UTC

This package is auto-updated.

Last update: 2025-10-09 11:57:58 UTC


README

This package came originally from ShvetsGroup, https://github.com/shvetsgroup/laravel-email-database-log

As it is archived from 2022.11.21. I wanted to make this package alive.

Laravel Email Database Log

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

Installation

Step 1: Composer

Laravel Email Database Log can be installed via composer by running this line in terminal:

composer require zoparga/laravel-email-database-log

Step 2: Configuration

You can skip this step if your version of Laravel is 5.5 or above. Otherwise, you have to add the following to your config/app.php in the providers array:

'providers' => [
    // ...
    zoparga\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class,
],

Step 3: Migration

Publish migration files:

php artisan vendor:publish --tag=laravel-email-database-log-migration

Now, run this in terminal:

php artisan migrate

Usage

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