Provides a unified interface for sending push notifications from within Payload applications. It is registered as a plugin and uses an adapter system, currently shipping a Firebase adapter built on the Firebase Admin SDK and FCM. It requires a Firebase project with a service account JSON key and targets Payload 3.
unified interface for sending push notifications from within Payload applications.
Installation
npm i @kfiross44/payload-push2
Stars
0
Forks
0
Open Issues
3 months ago
Last Updated
36
Weekly Downloads
v0.10.4
npm Version
86.2 KB
Unpacked Size
0
Dependencies
20 since Sep 7
| Date | Stars |
|---|---|
| Dec 6, 2026 | 2 |
| Dec 5, 2026 | 2 |
| Dec 4, 2026 | 2 |
| Dec 3, 2026 | 2 |
| Dec 2, 2026 | 2 |
| Dec 1, 2026 | 2 |
| Nov 30, 2026 | 2 |
| Nov 29, 2026 | 2 |
| Nov 28, 2026 | 2 |
| Nov 27, 2026 | 2 |
| Nov 26, 2026 | 2 |
| Nov 25, 2026 | 2 |
| Nov 24, 2026 | 2 |
| Nov 23, 2026 | 2 |
| Nov 22, 2026 | 2 |
| Nov 21, 2026 | 2 |
| Nov 20, 2026 | 2 |
| Nov 19, 2026 | 2 |
| Nov 18, 2026 | 2 |
| Nov 17, 2026 | 2 |
| Nov 16, 2026 | 2 |
| Nov 15, 2026 | 2 |
| Nov 14, 2026 | 2 |
| Nov 13, 2026 | 2 |
| Nov 12, 2026 | 2 |
| Nov 11, 2026 | 2 |
| Nov 10, 2026 | 2 |
| Nov 9, 2026 | 2 |
| Nov 8, 2026 | 2 |
| Nov 7, 2026 | 2 |
| Nov 6, 2026 | 2 |
| Nov 5, 2026 | 2 |
| Nov 4, 2026 | 2 |
| Nov 3, 2026 | 2 |
| Nov 2, 2026 | 2 |
| Nov 1, 2026 | 2 |
| Oct 31, 2026 | 2 |
| Oct 30, 2026 | 2 |
| Oct 29, 2026 | 2 |
| Oct 28, 2026 | 2 |
| Oct 27, 2026 | 2 |
| Oct 26, 2026 | 2 |
| Oct 25, 2026 | 2 |
| Oct 24, 2026 | 2 |
| Oct 23, 2026 | 2 |
| Oct 22, 2026 | 2 |
| Oct 21, 2026 | 2 |
| Oct 20, 2026 | 2 |
| Oct 19, 2026 | 2 |
| Oct 18, 2026 | 2 |
| Oct 17, 2026 | 2 |
| Oct 16, 2026 | 2 |
| Oct 15, 2026 | 2 |
| Oct 14, 2026 | 2 |
| Oct 13, 2026 | 2 |
| Oct 12, 2026 | 2 |
| Oct 11, 2026 | 2 |
| Oct 10, 2026 | 2 |
| Oct 9, 2026 | 2 |
| Oct 8, 2026 | 2 |
| Oct 7, 2026 | 2 |
| Oct 6, 2026 | 2 |
| Oct 5, 2026 | 2 |
| Oct 4, 2026 | 2 |
| Oct 3, 2026 | 2 |
| Oct 2, 2026 | 2 |
| Oct 1, 2026 | 2 |
| Sep 30, 2026 | 2 |
| Sep 29, 2026 | 2 |
| Sep 28, 2026 | 2 |
| Sep 27, 2026 | 2 |
| Sep 26, 2026 | 2 |
| Sep 25, 2026 | 2 |
| Sep 24, 2026 | 2 |
| Sep 23, 2026 | 2 |
| Sep 22, 2026 | 2 |
| Sep 21, 2026 | 2 |
| Sep 20, 2026 | 2 |
| Sep 19, 2026 | 2 |
| Sep 18, 2026 | 2 |
| Sep 17, 2026 | 2 |
| Sep 16, 2026 | 2 |
| Sep 15, 2026 | 2 |
| Sep 14, 2026 | 2 |
| Sep 13, 2026 | 2 |
| Sep 12, 2026 | 2 |
| Sep 11, 2026 | 2 |
| Sep 10, 2026 | 2 |
| Sep 9, 2026 | 2 |
| Sep 8, 2026 | 2 |
| Sep 7, 2026 | 2 |
37−2 since Sep 7
| Date | Weekly downloads |
|---|---|
| Dec 6, 2026 | 37 |
| Dec 5, 2026 | 19 |
| Dec 4, 2026 | 20 |
| Dec 3, 2026 | 20 |
| Dec 2, 2026 | 28 |
| Dec 1, 2026 | 19 |
| Nov 30, 2026 | 18 |
| Nov 29, 2026 | 17 |
| Nov 28, 2026 | 15 |
| Nov 27, 2026 | 14 |
| Nov 26, 2026 | 13 |
| Nov 25, 2026 | 5 |
| Nov 24, 2026 | 3 |
| Nov 23, 2026 | 4 |
| Nov 22, 2026 | 6 |
| Nov 21, 2026 | 6 |
| Nov 20, 2026 | 6 |
| Nov 19, 2026 | 6 |
| Nov 18, 2026 | 22 |
| Nov 17, 2026 | 23 |
| Nov 16, 2026 | 23 |
| Nov 15, 2026 | 22 |
| Nov 14, 2026 | 23 |
| Nov 13, 2026 | 24 |
| Nov 12, 2026 | 24 |
| Nov 11, 2026 | 7 |
| Nov 10, 2026 | 15 |
| Nov 9, 2026 | 14 |
| Nov 8, 2026 | 20 |
| Nov 7, 2026 | 34 |
| Nov 6, 2026 | 33 |
| Nov 5, 2026 | 34 |
| Nov 4, 2026 | 38 |
| Nov 3, 2026 | 37 |
| Nov 2, 2026 | 39 |
| Nov 1, 2026 | 32 |
| Oct 31, 2026 | 20 |
| Oct 30, 2026 | 20 |
| Oct 29, 2026 | 19 |
| Oct 28, 2026 | 14 |
| Oct 27, 2026 | 6 |
| Oct 26, 2026 | 5 |
| Oct 25, 2026 | 7 |
| Oct 24, 2026 | 4 |
| Oct 23, 2026 | 4 |
| Oct 22, 2026 | 5 |
| Oct 21, 2026 | 7 |
| Oct 20, 2026 | 6 |
| Oct 19, 2026 | 5 |
| Oct 18, 2026 | 4 |
| Oct 17, 2026 | 12 |
| Oct 16, 2026 | 12 |
| Oct 15, 2026 | 24 |
| Oct 14, 2026 | 23 |
| Oct 13, 2026 | 26 |
| Oct 12, 2026 | 26 |
| Oct 11, 2026 | 28 |
| Oct 10, 2026 | 29 |
| Oct 9, 2026 | 29 |
| Oct 8, 2026 | 20 |
| Oct 7, 2026 | 26 |
| Oct 6, 2026 | 30 |
| Oct 5, 2026 | 39 |
| Oct 4, 2026 | 43 |
| Oct 3, 2026 | 35 |
| Oct 2, 2026 | 35 |
| Oct 1, 2026 | 31 |
| Sep 30, 2026 | 25 |
| Sep 29, 2026 | 20 |
| Sep 28, 2026 | 13 |
| Sep 27, 2026 | 6 |
| Sep 26, 2026 | 9 |
| Sep 25, 2026 | 14 |
| Sep 24, 2026 | 15 |
| Sep 23, 2026 | 15 |
| Sep 22, 2026 | 15 |
| Sep 21, 2026 | 23 |
| Sep 20, 2026 | 26 |
| Sep 19, 2026 | 24 |
| Sep 18, 2026 | 20 |
| Sep 17, 2026 | 27 |
| Sep 16, 2026 | 28 |
| Sep 15, 2026 | 29 |
| Sep 14, 2026 | 20 |
| Sep 13, 2026 | 22 |
| Sep 12, 2026 | 21 |
| Sep 11, 2026 | 38 |
| Sep 10, 2026 | 31 |
| Sep 9, 2026 | 33 |
| Sep 8, 2026 | 34 |
| Sep 7, 2026 | 39 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1172986377-root)<a href="https://payloaddirectory.dev/plugins/1172986377-root"><img src="https://payloaddirectory.dev/badge/1172986377-root.svg" alt="Payload Directory"></a>README
The PayloadCMS Push Plugin provides a unified interface for sending push notifications from within Payload applications.
It is designed as an extensible, adapter-based system that supports multiple push providers. Currently, the plugin includes a Firebase adapter powered by the Firebase Admin SDK and Firebase Cloud Messaging (FCM), with additional providers planned for future releases (such as OneSignal).
The Firebase Push Adapter integrates PayloadCMS with Firebase Cloud Messaging (FCM) using the official Firebase Admin SDK. It enables transactional and broadcast push notification workflows across web, iOS, and Android devices.
Built on top of Firebase and Firebase Cloud Messaging (FCM), this adapter allows teams to send:
By leveraging the Firebase Admin SDK, organisations retain full control over credentials, infrastructure, and deployment topology while simplifying push delivery from within Payload.
The plugin is designed to support multiple providers through adapters. Planned integrations may include:
pnpm add @kfiross44/payload-push
All data should based on your generated JSON file (project-id-firebase-adminsdk-xxxxx-xxxxxxxxxx.json) from Firebase Console
// payload.config.ts
import { buildConfig } from 'payload'
import { firebaseAdapter } from '@kfiross/payload-push'
export default buildConfig({
plugins: [
// ... other plugins configuration
payloadPushPlugin({
firebaseAdapter({
serviceAccountJSON: {
type: "service_account",
project_id: process.env.FIREBASE_SERVICE_ACCOUNT_PROJECT_ID!,
private_key_id: process.env.FIREBASE_SERVICE_ACCOUNT_PRIVATE_KEY_ID!,
private_key: process.env.FIREBASE_SERVICE_ACCOUNT_PRIVATE_KEY!,
client_email: process.env.FIREBASE_SERVICE_ACCOUNT_CLIENT_EMAIL!,
client_id: process.env.FIREBASE_SERVICE_ACCOUNT_CLIENT_ID!,
auth_uri: "https://accounts.google.com/o/oauth2/auth",
token_uri: "https://oauth2.googleapis.com/token",
auth_provider_x509_cert_url: "https://www.googleapis.com/oauth2/v1/certs",
client_x509_cert_url: "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-fbsvc%40rescue-263a6.iam.gserviceaccount.com",
universe_domain: "googleapis.com"
}
}),
}),
],
})
await payloadPush.sendPush({
title: 'New Booking Confirmed',
body: 'Your booking has been successfully confirmed.',
data: {
bookingId: '12345',
},
options: {
token: '<device-fcm-token>',
},
})
await payloadPush.sendPush({
title: 'System Update',
body: 'We have updated our terms of service.',
options: {
tokens: ['token-1', 'token-2'],
},
})
await payloadPush.sendPush({
title: 'Weekly Newsletter',
body: 'Check out what’s new this week!',
options: {
topic: 'weekly-updates',
},
})
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| serviceAccountJSON | string | Yes | - | Firebase service account credentials JSON |
Inside options, you may provide:
| Option | Type | Description |
|---|---|---|
| token | string | Single device token |
| tokens | string[] | Multiple device tokens |
| topic | string | Subscribed topic name |
| android | object | Android-specific FCM config |
| apns | object | iOS/APNs-specific config |
FIREBASE_SERVICE_ACCOUNT_PROJECT_ID: '..',
FIREBASE_SERVICE_ACCOUNT_PRIVATE_KEY_ID: '..',
FIREBASE_SERVICE_ACCOUNT_PRIVATE_KEY: '..',
FIREBASE_SERVICE_ACCOUNT_CLIENT_EMAIL: '..'
This project is licensed under the MIT License.
Topics
payload notifications
Notifications collection with channels, per-user subscriptions, read state and optional web push delivery
67141/wk1v3
payload
Push publish, update and delete events from Payload to Hibira and refresh Next.js pages automatically
6814/wk0v3
telegram
Send Telegram messages when Payload form builder forms are submitted, with optional UTM data
76499/wk0v4
payload plugin notifications
In-site notices with per-kind email copies, user preferences and a retrying send queue
74127/wk0v3
smstunnel payload
Send SMS from Payload hooks, endpoints and jobs through your own Android phone and number
6417/wk0v3
payload plugin notifications
Recipient-scoped notification inbox collection with optional SSE live updates for Payload 3
6015/wk3v3