PHPackages                             peroxovy/laravel-mail-logging - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. peroxovy/laravel-mail-logging

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

peroxovy/laravel-mail-logging
=============================

Package which allows to send logs to e-mail.

v0.0.5(1y ago)07MITPHPPHP &gt;=7.4

Since Jan 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/peroxovy/laravel-mail-logging)[ Packagist](https://packagist.org/packages/peroxovy/laravel-mail-logging)[ RSS](/packages/peroxovy-laravel-mail-logging/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

This package provides possibility to send an exception to desired e-mail addresses, notifying the administrator about any problems.

---

Installation:

`composer require peroxovy/laravel-mail-logging`

---

Publish config:

```
php artisan vendor:publish --provider="Peroxovy\LaravelMailLogging\Providers\MailLoggingServiceProvider"

```

---

Add the following lines to your `.env`:

```
MAIL_LOG_FROM={email address from}
MAIL_LOG_TO={email addresses divided by "," }
MAIL_LOG_SUBJECT={email subject}
MAIL_LOG_MEMORY_USAGE=true/false
MAIL_LOG_MEMORY_PEAK=true/false
MAIL_LOG_WEB=true/false
MAIL_LOG_GIT=true/false

```

---

Modify `channels` section inside your `config/logging.php` by adding the driver:

```
'mail' => [
    'driver'    => 'custom',
    'via' => \Peroxovy\LaravelMailLogging\MailLogger::class,
    'from' => env('MAIL_LOG_FROM', 'no-reply@example.com'),
    'to' => explode(',', env('MAIL_LOG_TO', 'admin@example.com')),
    'level' => env('MAIL_LOG_LEVEL', 'error'),
    'subject' => env('MAIL_LOG_SUBJECT', 'This is a subject of a Log'),
    'processors' => [
        'memory_usage' => env('MAIL_LOG_MEMORY_USAGE', true),
        'memory_peak' => env('MAIL_LOG_MEMORY_PEAK', true),
        'web' => env('MAIL_LOG_WEB', true),
        'git' => env('MAIL_LOG_GIT', true),
    ],
],
```

Activate the package by modifying your default log channel:

```
'stack' => [
        'driver' => 'stack',
        'channels' => ['daily', 'mail'],
        'ignore_exceptions' => false,
    ],
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

Total

7

Last Release

520d ago

PHP version history (2 changes)v0.0.2-alphaPHP &gt;7.0

v0.0.3-alphaPHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62743726?v=4)[Piotr Mazur](/maintainers/peroxovy)[@peroxovy](https://github.com/peroxovy)

---

Top Contributors

[![peroxovy](https://avatars.githubusercontent.com/u/62743726?v=4)](https://github.com/peroxovy "peroxovy (2 commits)")

### Embed Badge

![Health badge](/badges/peroxovy-laravel-mail-logging/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[mateusjunges/laravel-kafka

A kafka driver for laravel

7253.6M21](/packages/mateusjunges-laravel-kafka)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M625](/packages/illuminate-log)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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