Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

shvetsgroup/laravel-email-database-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 shvetsgroup/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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages