Package Data | |
---|---|
Maintainer Username: | oprudkyi |
Maintainer Contact: | Oleksii.Prudkyi@gmail.com (Oleksii Prudkyi) |
Package Create Date: | 2016-04-22 |
Package Last Update: | 2017-03-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-01-18 03:24:00 |
Package Statistics | |
---|---|
Total Downloads: | 1,730 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
oprudkyi/laravel-mail-logger is a PHP package built for Laravel 5 to easily debug mails during the process of sending and to redirect debug info into log. It's built as simple wrapper over Swift_Plugins_Logger.
This project can be installed via Composer. To get the latest version of Laravel Mail Logger, simply add the following line to the require block of your composer.json file:
{
"require": {
"oprudkyi/laravel-mail-logger": "^1.0"
}
}
You'll then need to run composer install
or composer update
to download the
package and have the autoloader updated.
Or run the following command:
"composer require oprudkyi/laravel-mail-logger"
Once Laravel Mail Logger is installed, you need to register the service provider.
Open up config/app.php
and add the following to the providers
key:
Oprudkyi\LaravelMailLogger\MailLoggerServiceProvider::class,
Open up .env
and add the following key:
SWIFT_MAIL_LOG=true
This package is (yet) under development and refactoring but is ready for production. Please, feel free to comment, contribute and help. I will be happy to get some help to deliver tests.
Laravel Mail Logger is licensed under The MIT License (MIT).