r-martins/mautic-plugin-onesignal-web16
Composer 安装命令:
composer require 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).
README 文档
README
Plugin for Mautic 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
- For web (non-mobile) push, sends
include_subscription_idsinstead ofinclude_player_idsin the OneSignal REST request (aligned with subscription IDs from Web SDK v16 / Mauticpush_ids). - For mobile, keeps
include_player_ids. - If the OneSignal API returns HTTP 200 with a JSON
errorspayload or withidempty or null, the response is coerced to HTTP 422 so the defaultCampaignSubscriberdoes not record a false “delivered” outcome.
Requirements
- PHP >= 8.2
- Mautic 7.x (
mautic/core-lib^7.0)
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
GPL-3.0-or-later (same family as Mautic core).
r-martins/mautic-plugin-onesignal-web16 适用场景与选型建议
r-martins/mautic-plugin-onesignal-web16 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 04 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「subscription」 「push」 「onesignal」 「Mautic」 「Web Push」 「mautic-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 r-martins/mautic-plugin-onesignal-web16 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 r-martins/mautic-plugin-onesignal-web16 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 r-martins/mautic-plugin-onesignal-web16 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
OneSignal REST API Wrapper For Laravel/Lumen
Symfony bundle to sent push notifications through various providers
MaxAl Subscriptions is a flexible plans and subscription management system for Laravel, with the required tools to run your SAAS like services efficiently. It's simple architecture, accompanied by powerful underlying to afford solid platform for your business.
Symfony OneSignal Api Bundle
Apple Push Notification & Feedback Provider
Laravel OneSignal Notification
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 36
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-04-23