juniorb2ss / laravel-email-logger
Possible to armazenate all emails send by application in Redis, Database, Elasticsearch or push to SNS.
Installs: 446
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 2
Open Issues: 0
Type:package
Requires
- php: >=5.5.0
- illuminate/mail: ^5.0
- illuminate/support: 5.x.x
- squizlabs/php_codesniffer: ^3.2
Requires (Dev)
- laravel/framework: ^5.1
- mockery/mockery: ^0.9.5
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~4.0|~5.0
This package is not auto-updated.
Last update: 2024-11-19 21:53:47 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