reg2005 / laravel-email-database-log by reg2005

A simple database logger for all outgoing emails sent by Laravel website.
943
2
2
Package Data
Maintainer Username: reg2005
Maintainer Contact: neochief@shvetsgroup.com (Alexander Shvets)
Package Create Date: 2016-11-17
Package Last Update: 2016-12-15
Language: PHP
License: MIT
Last Refreshed: 2024-11-14 15:02:48
Package Statistics
Total Downloads: 943
Monthly Downloads: 4
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 5 Email Database Log

A simple database logger for all outgoing emails sent by Laravel 5 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": {
        "Reg2005/laravel-email-database-log": "*"
    }
}

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

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

Now, run this in terminal:

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