Real-Time

Pushes live WebSocket events when Payload collection documents are created or updated

Community 30 79/wk MIT v1.2.0

Installation

pnpm add @alejotoro-o/payload-real-time

About

This plugin sends live updates to the browser when documents in your Payload collections are created or updated, so an admin panel or a front end can react without polling. You choose which collections emit events and which operations trigger them, and you can group events into rooms such as one room per user or per chat thread. Connections can require a signed-in user's token, so people only receive events for rooms they are allowed to join. A React hook and a small client handle connecting, joining rooms and listening for events, and custom events can be sent in both directions for things like chat messages or typing indicators.

Package info

Package name
@alejotoro-o/payload-real-time
Latest version
1.2.0
Unpacked size
47 kB
License
MIT
Weekly downloads
79
Last publish
Dec 31, 2025

Similar plugins

More in Realtime

Threaded messages on any Payload document with channels, mentions and unread state

Recipient-scoped notification inbox with optional live updates

Adds an in-dashboard notification bell and inbox to the Payload admin with live updates

Broadcasts collection create, update and delete events to connected browsers in real time

Real-time WebSocket events for Payload collections with JWT auth and Redis