Skip to content

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

License

Notifications You must be signed in to change notification settings

d-lamers/laravel-email-database-log

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Email Database Log

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 shvetsgroup/laravel-email-database-log package in your project's composer.json.

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

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

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

Now, run this in terminal:

php artisan vendor:publish --provider="ShvetsGroup\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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%