PHPackages                             gobline/logwriter-mail - 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. gobline/logwriter-mail

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

gobline/logwriter-mail
======================

Mail Log Writer component

v2.0.0(10y ago)018BSD-3-ClausePHPPHP &gt;=5.6.0

Since Nov 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/gobline/logwriter-mail)[ Packagist](https://packagist.org/packages/gobline/logwriter-mail)[ Docs](https://github.com/gobline)[ RSS](/packages/gobline-logwriter-mail/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Mail Log Writer component
=========================

[](#mail-log-writer-component)

`Gobline\Logger\Writer\MailLogWriter` writes log information out as mail messages.

Usage
-----

[](#usage)

```
$transport = Swift_SmtpTransport::newInstance('smtp.gmail.com', 465, 'ssl')
    ->setUsername('sender@example.com')
    ->setPassword('qwerty');

$mailer = Swift_Mailer::newInstance($transport);

$logger = new Gobline\Logger\Writer\MailLogWriter($mailer, 'sender@example.com', 'recipient@example.com');

$logger->debug('hello world');
```

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

[](#installation)

You can install the Mail Log Writer using the dependency management tool [Composer](https://getcomposer.org/). Run the *require* command to resolve and download the dependencies:

```
composer require gobline/logwriter-mail

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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 ~126 days

Total

4

Last Release

3861d ago

Major Versions

v1.0.2 → v2.0.02015-12-03

PHP version history (2 changes)v1.0.0PHP &gt;=5.5.0

v2.0.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1564a230fe2f5125b0504cf6b6fe1e829face1a5d20ec663b3b8d22843312c7d?d=identicon)[mdecaffmeyer](/maintainers/mdecaffmeyer)

---

Tags

logloggingloggerlog writergobline

### Embed Badge

![Health badge](/badges/gobline-logwriter-mail/health.svg)

```
[![Health](https://phpackages.com/badges/gobline-logwriter-mail/health.svg)](https://phpackages.com/packages/gobline-logwriter-mail)
```

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k240.0M315](/packages/sentry-sentry)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3511.6M24](/packages/analog-analog)[inpsyde/wonolog

Monolog-based logging package for WordPress.

184631.3k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.8M78](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.1M20](/packages/apix-log)[markrogoyski/simplelog-php

Powerful PSR-3 logging. So easy, it's simple.

2819.1k4](/packages/markrogoyski-simplelog-php)

PHPackages © 2026

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