juniorb2ss/laravel-email-logger

Possible to armazenate all emails send by application in Redis, Database, Elasticsearch or push to SNS.

v2.0.0 2018-04-09 17:23 UTC

This package is not auto-updated.

Last update: 2024-04-23 19:09:02 UTC


README

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