tdchien / laravel-email-database-log by tdchien
forked from shvetsgroup/laravel-email-database-log

A simple database logger for all outgoing emails sent by Laravel website. Forked from Alexander Shvets
52
3
2
Package Data
Maintainer Username: tdchien
Maintainer Contact: br.tdchien@gmail.com (Chien Tran)
Package Create Date: 2016-01-18
Package Last Update: 2016-01-18
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:15:24
Package Statistics
Total Downloads: 52
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 3
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

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