A simple database logger for all outgoing emails sent by Laravel website. Thanks to Shvets Group for this wonderful extension
Laravel Email Database Log can be installed via composer by running this line in terminal:
composer require vikramsra/laravel-email-database-log
You can skip this step if your version of Laravel is 5.5 or above. Otherwise, you have to add the following to your config/app.php in the providers array:
'providers' => [
// ...
vikramsra\LaravelEmailDatabaseLog\LaravelEmailDatabaseLogServiceProvider::class,
],
Publish migration files:
php artisan vendor:publish --tag=laravel-email-database-log-migration
Now, run this in terminal:
php artisan migrate
After installation, any email sent by your website will be logged to email_log
table in the site's database.