PHPackages                             namjoker/flarum-ext-push-notifications - 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. namjoker/flarum-ext-push-notifications

ActiveFlarum-extension[Mail &amp; Notifications](/categories/mail)

namjoker/flarum-ext-push-notifications
======================================

02PHP

Since Aug 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/namjoker/flarum-ext-push-notifications1)[ Packagist](https://packagist.org/packages/namjoker/flarum-ext-push-notifications)[ RSS](/packages/namjoker-flarum-ext-push-notifications/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Push Notifications for Flarum
=============================

[](#push-notifications-for-flarum)

Sends Flarum notifications as push notifications to mobile devices.

Introduction
------------

[](#introduction)

By default Flarum only sends notifications via email and displays them within the forum. To increase engagement, this plugin adds support for sending them to mobile devices as push notifications.

It uses the [OneSignal](http://onesignal.com/) service, which is free and supports native push notifications on all the major mobile platforms. You'll need a mobile application in order to receive the notifications - a sample built in PhoneGap is available [here](https://github.com/BlissfulPlugins/flarum-ext-push-notifications-phonegap).

Note that this plugin doesn't support HTML5 push notifications, which don't work on iOS.

Setup
-----

[](#setup)

You'll need to register for a OneSignal account, create an 'app', and configure whichever platforms you want.

Note that for Apple, you need a paid iOS developer account to test notifications. You can test for free with Android using the emulator, although it's a bit complicated to get everything setup correctly as you need Google Play Services which aren't included by default. [This is a good tutorial](https://github.com/codepath/android_guides/wiki/Genymotion-2.0-Emulators-with-Google-Play-support)on setting that up with the GenyMotion emulator.

Next install the plugin, either editing your `compose.json` or running this:

```
composer require BlissfulPlugins/flarum-ext-push-notifications

```

Then login as an administrator and enable the 'Push Notifications' plugin, go to the settings and fill out the details of your OneSignal account (from App Settings -&gt; Keys &amp; IDs).

Once a user has setup the app, they'll then receive all their notifications as push notifications on their mobile device. The URL for the post or discussion is included as an extra attribute in the notification, you can use this so when a user clicks on a notification it opens Flarum in their browser.

Caveats
-------

[](#caveats)

- There isn't currently a way for users to configure which notifications are sent as push notifications. Flarum doesn't appear to have a way to hook into the notification configuration to add a new medium.
- Flarum's handling of whether a notification should be sent or not seems to break sometimes, so notifications aren't always sent when they should be.

License
-------

[](#license)

[MPL v2.0](https://github.com/BlissfulPlugins/flarum-ext-push-notifications/blob/master/LICENSE)

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d10297e515c89078450485836bda3764dcd15ff8e0f20f6afc87c81043af6a0e?d=identicon)[namjoker](/maintainers/namjoker)

---

Top Contributors

[![lucaspiller](https://avatars.githubusercontent.com/u/18404?v=4)](https://github.com/lucaspiller "lucaspiller (5 commits)")[![namjoker](https://avatars.githubusercontent.com/u/19831445?v=4)](https://github.com/namjoker "namjoker (1 commits)")

### Embed Badge

![Health badge](/badges/namjoker-flarum-ext-push-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/namjoker-flarum-ext-push-notifications/health.svg)](https://phpackages.com/packages/namjoker-flarum-ext-push-notifications)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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