PHPackages                             r-martins/mautic-plugin-onesignal-web16 - 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. [Payment Processing](/categories/payments)
4. /
5. r-martins/mautic-plugin-onesignal-web16

ActiveMautic-plugin[Payment Processing](/categories/payments)

r-martins/mautic-plugin-onesignal-web16
=======================================

OneSignal Web SDK v16: use include\_subscription\_ids for web, and mark campaign push as failed when OneSignal returns errors or an empty id in JSON (including HTTP 200).

1.0.0(3mo ago)02GPL-3.0-or-laterPHPPHP &gt;=8.2

Since Apr 23Pushed 3mo agoCompare

[ Source](https://github.com/r-martins/mautic-plugin-onesignal-web16)[ Packagist](https://packagist.org/packages/r-martins/mautic-plugin-onesignal-web16)[ RSS](/packages/r-martins-mautic-plugin-onesignal-web16/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

mautic-plugin-onesignal-web16
=============================

[](#mautic-plugin-onesignal-web16)

Plugin for [Mautic](https://www.mautic.org/) 7.x that **avoids editing core** for OneSignal web push (Web SDK v16 subscription IDs) and for treating OneSignal JSON errors in HTTP-200 responses as send failures in campaigns.

What it does
------------

[](#what-it-does)

1. For **web** (non-mobile) push, sends `include_subscription_ids` instead of `include_player_ids` in the OneSignal REST request (aligned with subscription IDs from Web SDK v16 / Mautic `push_ids`).
2. For **mobile**, keeps `include_player_ids`.
3. If the OneSignal API returns **HTTP 200** with a JSON `errors` payload or with `id` empty or null, the response is coerced to **HTTP 422** so the default `CampaignSubscriber` does not record a false “delivered” outcome.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.2
- Mautic 7.x (`mautic/core-lib` ^7.0)

Install (Composer, recommended for Packagist)
---------------------------------------------

[](#install-composer-recommended-for-packagist)

From the Mautic project root (Composer-based install):

```
composer require mtc/mautic-plugin-onesignal-web16
php bin/console mautic:plugins:reload
php bin/console cache:clear
```

In the Mautic UI: **Settings → Plugins**, install/enable **OnesignalWeb16** if necessary.

License
-------

[](#license)

GPL-3.0-or-later (same family as Mautic core).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance82

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

93d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc001164ed8af49820c2e2289141ad0168a056ef6fbe019f18d1847b8829417a?d=identicon)[r-martins](/maintainers/r-martins)

---

Top Contributors

[![r-martins](https://avatars.githubusercontent.com/u/191149?v=4)](https://github.com/r-martins "r-martins (2 commits)")

---

Tags

pushMauticonesignalsubscriptionWeb Pushmautic-plugin

### Embed Badge

![Health badge](/badges/r-martins-mautic-plugin-onesignal-web16/health.svg)

```
[![Health](https://phpackages.com/badges/r-martins-mautic-plugin-onesignal-web16/health.svg)](https://phpackages.com/packages/r-martins-mautic-plugin-onesignal-web16)
```

###  Alternatives

[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

6481.1M11](/packages/unicodeveloper-laravel-paystack)[payum/core

One million downloads of Payum already! Payum offers everything you need to work with payments. Friendly for all PHP frameworks (Symfony, Laravel, Laminas, Yii, Silex). Check more visiting site.

485.3M191](/packages/payum-core)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

72290.6k](/packages/bentools-webpush-bundle)[mautic/grapes-js-builder-bundle

GrapesJS Builder with MJML support for Mautic

5791.8k13](/packages/mautic-grapes-js-builder-bundle)[payum/stripe

The Payum extension. It provides Stripe payment integration.

20605.6k4](/packages/payum-stripe)[etailors/mautic-amazon-ses

Amazon SES Mailer Plugin for Mautic

574.2k](/packages/etailors-mautic-amazon-ses)

PHPackages © 2026

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