An open API service indexing awesome lists of open source software.

https://github.com/juniorb2ss/laravel-email-logger

Logger sending emails
https://github.com/juniorb2ss/laravel-email-logger

Last synced: about 1 year ago
JSON representation

Logger sending emails

Awesome Lists containing this project

README

          

# 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](http://getcomposer.org) by requiring the `juniorb2ss/laravel-email-logger` package in your project's `composer.json`.

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

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

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

Now, run this in terminal:

```bash
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