reg2005 / laravel-email-database-log
A simple database logger for all outgoing emails sent by Laravel website.
Installs: 953
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/reg2005/laravel-email-database-log
Requires
- illuminate/support: ~5.0
This package is not auto-updated.
Last update: 2025-10-06 19:17:51 UTC
README
A simple database logger for all outgoing emails sent by Laravel 5 website.
Installation
Laravel Email Database Log can be installed via composer by requiring the shvetsgroup/laravel-email-database-log
package in your project's composer.json
.
{ "require": { "Reg2005/laravel-email-database-log": "*" } }
Next add the service provider and the alias to app/config/app
.
'providers' => [ // ... Reg2005\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class, ],
Now, run this in terminal:
php artisan vendor:publish --provider="Reg2005\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider" --tag="migrations" php artisan migrate
Usage
After installation, any email sent by your website will be logged to email_log
table in the site's database.