PHPackages                             teamnovu/laravel-notification-log - 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. teamnovu/laravel-notification-log

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

teamnovu/laravel-notification-log
=================================

Logs every sent Notification and Mail of your entire Project.

v2.0.0(2y ago)25.7k↓75%2[1 PRs](https://github.com/teamnovu/laravel-notification-log/pulls)MITPHPPHP ^8.1

Since Oct 10Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/teamnovu/laravel-notification-log)[ Packagist](https://packagist.org/packages/teamnovu/laravel-notification-log)[ Docs](https://github.com/teamnovu/laravel-notification-log)[ RSS](/packages/teamnovu-laravel-notification-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (14)Used By (0)

Laravel Notification Log
========================

[](#laravel-notification-log)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9de534411bf2c052d36007001190c014dba370ee97bc1f4d7405d16c3fe5a7fc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7465616d6e6f76752f6c61726176656c2d6e6f74696669636174696f6e2d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teamnovu/laravel-notification-log)[![GitHub Tests Action Status](https://camo.githubusercontent.com/841d5d2c07ce12341731595055e7b20e98713c4ae93318f3cba8aae20eba61ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7465616d6e6f76752f6c61726176656c2d6e6f74696669636174696f6e2d6c6f672f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/teamnovu/laravel-notification-log/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c0b735b9ea5ec51066e6408c6da8527091f212f315e12bff6a16b18384dd1bf4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7465616d6e6f76752f6c61726176656c2d6e6f74696669636174696f6e2d6c6f672f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/teamnovu/laravel-notification-log/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/9d268fb04ab63334ef1d5f6a37654596070b6ff432a7377183e67322b0d265cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7465616d6e6f76752f6c61726176656c2d6e6f74696669636174696f6e2d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teamnovu/laravel-notification-log)

Logs every sent Notification and Mail of your entire Laravel Project.

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

[](#installation)

You can install the package via composer:

```
composer require teamnovu/laravel-notification-log
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="notification-log-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="notification-log-config"
```

The following config file will be published in config/notification-log.php:

```
return [

    /*
    |--------------------------------------------------------------------------
    | Compress Messages
    |--------------------------------------------------------------------------
    |
    | In case you send a lot of E-Mails the message_sent_logs table could become
    | very big. With this option you can enable that the body of every log
    | entry will be compressed with gzip to reduce its size.
    |
    */

    'compress-messages' => env('NOTIFICATION_LOG_COMPRESS_MESSAGES', false),

    /*
    |--------------------------------------------------------------------------
    | Resolve Notification Message
    |--------------------------------------------------------------------------
    |
    | If this is enabled, the Logger will try to resolve the built message
    | out of the notification. This is useful if you want to debug your
    | sent notifications.
    |
    */

    'resolve-notification-message' => env('NOTIFICATION_LOG_RESOLVE_NOTIFICATION_MESSAGE', false),
];
```

Usage
-----

[](#usage)

Add the following Interface and Trait to your Notification:

```
use Teamnovu\LaravelNotificationLog\Concerns\LogNotification;
use Teamnovu\LaravelNotificationLog\Contracts\ShouldLogNotification;

class DummyNotification extends Notification implements ShouldLogNotification
{
    use LogNotification;

    // ...

}
```

Now send a Notification or Mail as you would normally do. The package will automatically log the Notification or Mail.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Oliver Kaufmann](https://github.com/teamnovu)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance42

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Recently: every ~76 days

Total

12

Last Release

998d ago

Major Versions

v1.3.3 → v2.0.02023-08-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/71924914cc3395e100850e18b7aa059b39c80ecb1555cedabc7f3c59c130f557?d=identicon)[Buffalom](/maintainers/Buffalom)

---

Top Contributors

[![okaufmann](https://avatars.githubusercontent.com/u/4414498?v=4)](https://github.com/okaufmann "okaufmann (23 commits)")

---

Tags

laravellaravel-notification-logteamnovu

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/teamnovu-laravel-notification-log/health.svg)

```
[![Health](https://phpackages.com/badges/teamnovu-laravel-notification-log/health.svg)](https://phpackages.com/packages/teamnovu-laravel-notification-log)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[spatie/laravel-slack-alerts

Send a message to Slack

3212.6M4](/packages/spatie-laravel-slack-alerts)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

142347.8k](/packages/keepsuit-laravel-opentelemetry)[spatie/laravel-notification-log

Log notifications sent by your Laravel app

207902.8k](/packages/spatie-laravel-notification-log)[spatie/laravel-error-share

Share your Laravel errors to Flare

43965.6k3](/packages/spatie-laravel-error-share)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)

PHPackages © 2026

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