juniorb2ss / laravel-email-logger by juniorb2s

Possible to armazenate all emails send by application in Redis, Database, Elasticsearch or push to SNS.
446
5
2
Package Data
Maintainer Username: juniorb2s
Maintainer Contact: juniorb2ss@gmail.com (Carlos Eduardo)
Package Create Date: 2016-09-21
Package Last Update: 2018-04-09
Language: PHP
License: MIT
Last Refreshed: 2024-12-19 03:03:09
Package Statistics
Total Downloads: 446
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 5
Total Watchers: 2
Total Forks: 2
Total Open Issues: 0

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