PHPackages                             blomstra/test-notification-dispatcher - 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. blomstra/test-notification-dispatcher

ActiveFlarum-extension[CLI &amp; Console](/categories/cli)

blomstra/test-notification-dispatcher
=====================================

CLI to dispatch notifications for development/testing

0.1.0(3y ago)144MITPHP

Since Jul 25Pushed 3y ago5 watchersCompare

[ Source](https://github.com/blomstra/flarum-ext-test-notification-dispatcher)[ Packagist](https://packagist.org/packages/blomstra/test-notification-dispatcher)[ Docs](https://blomstra.net)[ RSS](/packages/blomstra-test-notification-dispatcher/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Test Notification Dispatcher
============================

[](#test-notification-dispatcher)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/e149f6187b4b485f65bed9787f2a3a4f46f1a299f03e8d01fdbe54e9ad3783a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c6f6d737472612f746573742d6e6f74696669636174696f6e2d646973706174636865722e737667)](https://packagist.org/packages/blomstra/test-notification-dispatcher) [![Total Downloads](https://camo.githubusercontent.com/241ccd963774a1db7f0c32f33961f60aee45148e50f540d24c368ec7cb7bdbf2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c6f6d737472612f746573742d6e6f74696669636174696f6e2d646973706174636865722e737667)](https://packagist.org/packages/blomstra/test-notification-dispatcher)

A [Flarum](https://flarum.org/) extension. CLI to dispatch notifications for development/testing.

Run `php flarum help testnotifications` to get the list of available options.

This extension should probably never be executed in production. It deletes all the test user's web notifications and might have side effects on other user's notifications if the same event concerns multiple users.

The command works by finding events that have previously triggered the given notifications, and triggering the notifications again. It results in the web notifications being boosted back to the top and emails being sent again. The date of the notifications will be inaccurate as it will be reset to the current time.

If more events are found than the given limit (5 by default), then the events to trigger notifications for will pe picked at random.

The notifications are sent to the given test user which can be customized via command parameters. By default, the user with ID 1 will be used.

The following events/notifications are supported:

- `flarum/core`: Discussion renamed (picks discussions authored by the test user that contain an event post for rename, no matter who renamed it)
- `flarum/suspend`: User suspended (triggers once for the selected test user if they are suspended)
- `flarum/suspend`: User unsuspended (triggers once for the selected test user if they are not suspended)
- `flarum/subscriptions`: New post in followed discussion (will always use the last post of any discussion with one reply or more, even if all the replies are from the test user as well)
- `flarum/mentions`: Post or user mention (any post not created by the test user nor a deleted user)
- `fof/follow-tags`: New post in lurked tag (same constraints as posts in followed discussions)
- `fof/follow-tags`: New discussion in followed or lurked tag (any discussion not created by the test user)

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

[](#installation)

Install with composer:

```
composer require blomstra/test-notification-dispatcher:"*"
```

Updating
--------

[](#updating)

```
composer update blomstra/test-notification-dispatcher
php flarum migrate
php flarum cache:clear
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/blomstra/test-notification-dispatcher)
- [GitHub](https://github.com/blomstra/test-notification-dispatcher)
- [Discuss](https://discuss.flarum.org/d/PUT_DISCUSS_SLUG_HERE)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

1385d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/504687?v=4)[Daniël Klabbers](/maintainers/Luceos)[@luceos](https://github.com/luceos)

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (2 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (2 commits)")[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (1 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/blomstra-test-notification-dispatcher/health.svg)

```
[![Health](https://phpackages.com/badges/blomstra-test-notification-dispatcher/health.svg)](https://phpackages.com/packages/blomstra-test-notification-dispatcher)
```

###  Alternatives

[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[flarum-lang/russian

Russian language pack for Flarum.

13126.1k](/packages/flarum-lang-russian)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)

PHPackages © 2026

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