PHPackages                             oprudkyi/laravel-mail-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. oprudkyi/laravel-mail-logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

oprudkyi/laravel-mail-logger
============================

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

v1.0.3(9y ago)42.0k↓100%MITPHPPHP &gt;=5.5.9

Since Apr 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/oprudkyi/laravel-mail-logger)[ Packagist](https://packagist.org/packages/oprudkyi/laravel-mail-logger)[ RSS](/packages/oprudkyi-laravel-mail-logger/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (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](http://swiftmailer.org/docs/plugins.html).

[![Latest Stable Version](https://camo.githubusercontent.com/f651eccf024aafd677fbfa7bb59921e02adb3fb6fd5951d41fada0c341d7403c/68747470733a2f2f706f7365722e707567782e6f72672f6f707275646b79692f6c61726176656c2d6d61696c2d6c6f676765722f762f737461626c65)](https://packagist.org/packages/oprudkyi/laravel-mail-logger) [![Total Downloads](https://camo.githubusercontent.com/9f4cb1f7ed38a4c8518caaa59eee695d691ef60235661ba7e4d69f69f54c315d/68747470733a2f2f706f7365722e707567782e6f72672f6f707275646b79692f6c61726176656c2d6d61696c2d6c6f676765722f646f776e6c6f616473)](https://packagist.org/packages/oprudkyi/laravel-mail-logger) [![License](https://camo.githubusercontent.com/43998837f32f9e75a73f84b6b4f9a29cd0eb84eee034cc0b0c748e02879fb6e5/68747470733a2f2f706f7365722e707567782e6f72672f6f707275646b79692f6c61726176656c2d6d61696c2d6c6f676765722f6c6963656e7365)](https://packagist.org/packages/oprudkyi/laravel-mail-logger)

About
-----

[](#about)

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

Installation
------------

[](#installation)

This project can be installed via [Composer](http://getcomposer.org). 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

[](#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
-------------

[](#configuration)

Open up `.env` and add the following key:

```
SWIFT_MAIL_LOG=true
```

Contribute
----------

[](#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
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~109 days

Total

4

Last Release

3292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0e045f40b937c60de3763d7e8f5c7471d5bc4e7974032335498ed7d66816a67?d=identicon)[oprudkyi](/maintainers/oprudkyi)

---

Top Contributors

[![oprudkyi](https://avatars.githubusercontent.com/u/3018472?v=4)](https://github.com/oprudkyi "oprudkyi (8 commits)")

---

Tags

loglaraveldebugemailswiftmailer

### Embed Badge

![Health badge](/badges/oprudkyi-laravel-mail-logger/health.svg)

```
[![Health](https://phpackages.com/badges/oprudkyi-laravel-mail-logger/health.svg)](https://phpackages.com/packages/oprudkyi-laravel-mail-logger)
```

###  Alternatives

[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

27023.6k](/packages/saasscaleup-laravel-log-alarm)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151365.1k4](/packages/jackiedo-log-reader)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Dump、Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14241.9k1](/packages/guanguans-laravel-exception-notify)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

62538.4k1](/packages/ytake-laravel-fluent-logger)[kitloong/laravel-app-logger

Laravel log for your application

101.2M6](/packages/kitloong-laravel-app-logger)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
