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 1mo 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 68% 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

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

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[sentry/sentry-laravel

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

1.3k114.3M154](/packages/sentry-sentry-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[larabug/larabug

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

299549.3k1](/packages/larabug-larabug)[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

27025.0k](/packages/saasscaleup-laravel-log-alarm)[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).

14642.7k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

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