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.0kMITPHPPHP &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 3w ago

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 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

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

3390d 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

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M185](/packages/sentry-sentry-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M153](/packages/spatie-laravel-health)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299571.0k1](/packages/larabug-larabug)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(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).

14844.4k1](/packages/guanguans-laravel-exception-notify)[spatie/laravel-flare

Send Laravel errors to Flare

111.2M6](/packages/spatie-laravel-flare)[kitloong/laravel-app-logger

Laravel log for your application

101.3M8](/packages/kitloong-laravel-app-logger)

PHPackages © 2026

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