Skip to content

juniorb2ss/laravel-email-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Logger sending emails

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages