PHPackages                             waynebrummer/mail-digester - 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. [CLI &amp; Console](/categories/cli)
4. /
5. waynebrummer/mail-digester

ActiveLibrary[CLI &amp; Console](/categories/cli)

waynebrummer/mail-digester
==========================

Will send a summarized email based on notification data attribute.

1.3.0(6y ago)0309Apache-2.0PHPPHP ^7.2CI failing

Since Nov 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/WayneBrummer/mail-digester)[ Packagist](https://packagist.org/packages/waynebrummer/mail-digester)[ RSS](/packages/waynebrummer-mail-digester/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Laravel Mail Digester
=====================

[](#laravel-mail-digester)

Mail Digester will schedule and run a daily, weekly or monthly summary of unread emails from the default notifications table of Laravel.

Basically for those people who like to ignore broadcasts or slack messages...

Install
-------

[](#install)

Via Composer:

```
composer require waynebrummer/mail-digester
```

Publish the config file:

```
php artisan vendor:publish --provider="Pace\MailDigester\ServiceProvider"
```

---

Usage Config
------------

[](#usage-config)

Once installed, it will collect all unread emails from the notifications table.

WIP Group together common items from the data attribute.

The following config options are available in `config/mail-digester.php`:

- **enabled**: Set to `true` or `false` to enable the sending of the mails.
- **frequency**: Array set to `daily`, `weekly` or `monthly` to schedules for mail digestion.
- **occurrence**: Physical time to the server or when to trigger summarized mails.

    - `daily` will use `hh:mm`
    - `weekly` will use e.g `1` , `2` etc `7`
    - `monthly` will use `1` , `2` etc `last_day`
- **mark\_read**: Will automatically update the unread status of the mail once the summary mail has been sent.

---

Usage Middleware
----------------

[](#usage-middleware)

Padding the `config` requested middleware id a lot with the notification id will render the notification read.

`identifier`

'' {url}/notification\_id={notification\_id} ''

---

***Note on local development testing***
---------------------------------------

[](#note-on-local-development-testing)

Make sure to use mailtrap.io or Telescope or something.

---

Contributing WIP
----------------

[](#contributing-wip)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email @wayne.brummer instead of using the issue tracker.

Credits
-------

[](#credits)

\-- None

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

4

Last Release

2282d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4981767?v=4)[Wayne](/maintainers/WayneBrummer)[@WayneBrummer](https://github.com/WayneBrummer)

---

Top Contributors

[![WayneBrummer](https://avatars.githubusercontent.com/u/4981767?v=4)](https://github.com/WayneBrummer "WayneBrummer (1 commits)")

---

Tags

consolelaravelmailnotificationscommandsdigester

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/waynebrummer-mail-digester/health.svg)

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

###  Alternatives

[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)

PHPackages © 2026

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