tdchien/laravel-email-database-log

A simple database logger for all outgoing emails sent by Laravel website. Forked from Alexander Shvets

Installs: 53

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 74

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

1.0.2 2016-01-18 08:45 UTC

This package is not auto-updated.

Last update: 2025-09-27 23:37:55 UTC


README

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

Installation

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

{
    "require": {
        "tdchien/laravel-email-database-log": "*"
    }
}

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

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

Now, run this in terminal:

php artisan vendor:publish --provider="tdchien\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider" --tag="migrations"

php artisan migrate

Usage

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