oprudkyi/laravel-mail-logger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oprudkyi/laravel-mail-logger

最新稳定版本:v1.0.3

Composer 安装命令:

composer require oprudkyi/laravel-mail-logger

包简介

Enable debugging/logging communication with mail servers for Laravel 5.*

README 文档

README

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.

Latest Stable Version Total Downloads License

About

  • uses Log::info() for logging
  • enable/disable via .env

Installation

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"

Add the Service Provider

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,

Configuration

Open up .env and add the following key:

SWIFT_MAIL_LOG=true

Contribute

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.

License

Laravel Mail Logger is licensed under The MIT License (MIT).

统计信息

  • 总下载量: 2.03k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-04-22