magentron/laravel-email-database-log

A simple database logger for all outgoing emails sent by Laravel website.
7,040
Install
composer require magentron/laravel-email-database-log
Latest Version:12.0.3
PHP:^8.0.2
License:MIT
Last Updated:Sep 9, 2025
Links: GitHub  ·  Packagist
Maintainer: Magentron

(forked from: shvetsgroup/laravel-email-database-log)

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 magentron/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' => [
    // ...
    ShvetsGroup\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.

Related Packages

laravel-enso/mails

Central email layouts and components for Laravel Enso applications

1,176 0
caseraph/laravel-email-database-log

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

1,501 0
jeremykenedy/laravel-email-database-log

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

18,281 10
yozaz/laravel-swiftmailer

Laravel and SwiftMailer integration fix for Queued deamon workers

73,940 24
clarification/sendgrid-laravel-driver

Sendgrid mail driver for Laravel

31,440 11

Version History

Version Released PHP Laravel License
12.0.3 ^8.0.2 ^8.5|^9.0|^10.0|^11.0|^12.0 MIT
12.0.2 ^8.0.2|^8.1|^8.2|^8.3|^8.4 ^8.5|^9.0|^10.0|^11.0|^12.0 MIT
12.0.1 ^8.0.2|^8.1|^8.2|^8.3|^8.4 ^8.5|^9.0|^10.0|^11.0|^12.0 MIT
12.0.0 ^8.0.2|^8.1|^8.2 ^8.5|^9.0|^10.0|^11.0|^12.0 MIT
11.0.2 ^8.0.2|^8.1|^8.2 ^8.5|^9.0|^10.0|^11.0|^12.0 MIT