Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 886 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 886 Bytes

Laravel Email Logger

Possible to armazenate all emails send by application in Redis, Eloquent or Elasticsearch.

Installation

Laravel Email Logger can be installed via composer by requiring the juniorb2ss/laravel-email-logger package in your project's composer.json.

{
    "require": {
        "juniorb2ss/laravel-email-logger": "v1.*"
    }
}

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

'providers' => [
    // ...
    juniorb2ss\LaravelEmailLogger\Providers\LaravelEmailLoggerServiceProvider::class,
],

Now, run this in terminal:

php artisan vendor:publish --provider="juniorb2ss\LaravelEmailLogger\Providers\LaravelEmailLoggerServiceProvider"
php artisan migrate

Configurations

Edit app/emaillogger.php

To-do

  • Implementation Redis and Elasticsearch
  • Implementation Tests