WordSocket
WebSocket relay for WordPress. Realtime events plus a Yjs sync provider for Gutenberg real-time collaboration. No polling, no custom server.
Choix solide
WordSocket is a solid plugin choice in 2026, with a few things worth checking first. Is rated 5/5 and was last updated 3 weeks ago, and scores 71/100 on our health check.
- Développé activement — Dernière mise à jour il y a 3 semaines
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10Â installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.2 ou plus récent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where WordSocket stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| événements | >100 |
| realtime | #75 |
| server-sent events | >100 |
| Websocket | #11 |
| wordsocket | #1 |
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About WordSocket
From the official readme · v0.31.0Description
WordSocket sends realtime events from your WordPress site to connected browsers.
When content changes: a post is published, a comment is approved, an option is updated: the plugin pushes the event to subscribers instantly via WebSocket (with SSE fallback).
When real-time collaboration is available (currently through the Gutenberg plugin), WordSocket also registers as a WebSocket-based Yjs sync provider for realtime collaborative editing in the block editor, replacing the default HTTP polling transport with a low-latency WebSocket connection.
WPSignal is an independent service and is not affiliated with or endorsed by the WordPress project.
Caractéristiques :
- One-click automatic connection via the WPSignal dashboard (no API key required)
- Manual connection via API key for advanced setups
- Disconnect button with inline confirmation: the site is archived on the server, its usage history is kept, and reconnecting the same URL restores it
- WebSocket-first with automatic SSE fallback
- Per-site JWT signing secrets: each site’s connection tokens are cryptographically isolated
- AES-256-GCM encrypted event payloads: the WPSignal relay never has access to their plaintext
- Admin toggle to disable the collaboration provider and fall back to Gutenberg’s HTTP polling
- Built-in triggers for post updates and custom post types
- Custom trigger builder: map any WordPress action hook to a realtime event
- Public JavaScript API (
window.WPS) for themes and plugins to share the connection - Extensible connection token:
wpsignal_token_channelsandwpsignal_token_channel_prefixesfilters let other plugins add channels and namespace permissions to the JWT without modifying core - Admin explorer page with live event log, publish form, and token inspector
- Short-lived JWTs (5 min) with automatic refresh
Comment ça marche :
- Install the plugin and connect to the WPSignal service.
- When content changes in WordPress, the plugin encrypts and publishes an HMAC-signed event to the WPSignal server.
- The server pushes the ciphertext to all browsers subscribed to that channel.
- The browser decrypts the payload and dispatches
wpsignal:*DOM events. The relay never sees the payload’s plaintext. - When real-time collaboration is available on the site, the block editor uses the same WebSocket connection for collaborative editing with no extra configuration.
Real-Time Collaboration
WordSocket ships a WebSocket sync provider for the block editor’s real-time collaboration feature. Three things need to be true for it to activate:
- The Gutenberg plugin is active. Real-time collaboration was removed from WordPress core before the 7.0 release and is only available through the Gutenberg plugin.
- Real-time collaboration is enabled under Gutenberg > Experiments > Enable real-time collaboration (Gutenberg 23.8 and later; earlier versions used Settings > Writing).
- The site is connected to WPSignal, since the provider shares the plugin’s WebSocket connection.
The WordSocket Settings tab shows a “Gutenberg detected” badge when the feature is available on your site. Once active, everything collaboration syncs travels over the WebSocket instead of HTTP polling: document updates, cursors and presence, and collaborative notes. If the connection drops, the provider reconnects with increasing delays; after repeated failures the editor shows its standard “connection lost” dialog, and documents re-sync when the connection returns. If a site’s credentials are revoked, the editor reports an authentication error instead of retrying forever. The site editor does not use sync providers (core disables collaboration there). Disabling the provider from the Settings tab restores Gutenberg’s HTTP polling for all editors.
Service tiers
This plugin connects to the WPSignal service at api.wpsignal.io for the following operations:
- Site registration: when you connect in the admin (via the automatic one-click flow or by entering an API key manually), the plugin registers your site with the server and receives credentials.
- Event publishing: when a trigger fires (e.g. a post is saved), the plugin sends an encrypted, HMAC-signed HTTP request to the server.
- Realtime connections: logged-in users’ browsers connect to the server via WebSocket or SSE to receive events.
- Collaborative editing: when real-time collaboration is enabled through the Gutenberg plugin, editors’ browsers relay Yjs document updates (binary diffs of the post being edited), cursors and presence to each other through the server, over the same WebSocket.
Event payloads are AES-256-GCM encrypted before leaving WordPress, so the WPSignal server relays ciphertext and never has access to their plaintext. Collaborative editing updates are not encrypted: the server could read them, though it only forwards them and never parses or stores them. Data is delivered in realtime and is not persisted on the server.
Installation
Showcase
ShopSocket for WooCommerce
A live orders board, live and abandoned carts, and live stock on product pages, built on WordSocket. On WordPress.org.
Below are a few examples showcasing the possibilities with WP Signal + WordSocket. Repository https://github.com/wpsignal/wordsocket-examples
Living Posts – Interactivity API
Source code: https://github.com/wpsignal/wordsocket-examples
Bidirectional Realtime Chat Plugin
Realtime Poker Plugin
Open Source
https://github.com/wpsignal/wordsocket
Third-party libraries
The browser client bundles @noble/ciphers (MIT, audited) for AES-256-GCM decryption on plain HTTP pages, where browsers do not offer SubtleCrypto. It is compiled into build/client.js by npm run build.
Installation
- Upload the
wordsocketfolder to/wp-content/plugins/, or install directly from the WordPress plugin directory. - Activez le plugin via le menu "Plugins" dans WordPress.
- Go to WordSocket > Settings and open the Connect tab.
- Choose a connection method:
- Automatic (recommended): Click Connect with WPSignal. You will be redirected to the WPSignal dashboard to authorize the connection. No API key entry required.
- Manual: Switch to the Manual tab, paste your API key, and click Save Settings.
- The plugin registers with the server and saves credentials automatically.
To create an account, visit wpsignal.io.
Journal de modifications
Moments and Journeys, both off until you switch them on under Settings, with a Style prompts dialog on the Moments card. Also fixes a visitor's connection failing on sites whose minifier merged WordSocket's page config into a cached file. Update WordSocket before ShopSocket 0.8.
0.31.0
- New: on WordPress 6.9 and later, WordSocket registers abilities (the Abilities API) so an AI agent or the MCP adapter can describe, list, save, switch and delete moments, publish an event and read the journeys the site keeps, with the same checks as the settings page
- New: the Journeys tab downloads the last days of journeys as CSV or JSON, the JSON with a legend of every field, for a spreadsheet or an AI assistant without a connector
- New for extensions:
WPS.configis a read-only{ version, isDebug, siteName, page: { kind, id } }built for plugins, andWPS.debug()logs only while debug mode is on, so a plugin never reads WordSocket’s own inline config - New for extensions:
WPS.recoveryshows a prompt as a modal, banner, bar, toast or slide-in panel, flashes the tab title, badges the favicon or plays a chime, andWPS.attentionsays whether the visitor is on the page, in another window or on a hidden tab. Nothing shows until a moment or an extension asks - New: moments. Enable them on the Settings tab and the Moments tab appears. A moment names conditions about the visitor (the page, including a post type’s archive, a taxonomy or a date or author archive, a page or term id, time on the page while visible or while hidden, pages so far, what was seen earlier, the time of day by the site’s clock or the visitor’s, the day of the week, new or returning, logged in, the device) and shows text or a synced pattern as a modal, banner, bar, toast or panel. “Flash the tab title” makes a moment that fires on a hidden tab flash the title and badge the favicon until the visitor returns; the prompt opens when its action runs and is there on the return. Only enabled moments reach browsers, and nothing shows until one is on.
- New for extensions: the visit report a tracked page sends now answers with whatever
wpsignal_visitor_visit_responseadds, read in the browser throughtracker.onVisit(), so a plugin gets its own state in the request every page already makes instead of a second one. Thereportoption may be a function, so a plugin reports only the visitors it would store. - New: beside the builder, “Where it fired” shows what a moment has done over the stored journeys: how often it showed, how many came back, dismissed it or clicked, and the orders it led to, each on the shopper’s journey; the Moments list says how often each fired.
- New: Journeys. Enable Journeys on the Settings tab and WordSocket keeps each visit on your own site: the pages a visitor opened and how long they stayed, under a random browser id, linked to their account for the visits they were logged in, for the months you choose (3 by default). The tab then shows the last 28 days three ways: where journeys go (every visit as a path through your pages to how it ended), how the weeks are going (visits day by day with the 7-day average, and every journey as a dot), and when visitors are here (the week by hour, on your clock), each with a table beside the chart. Moments are recorded on the journey they fired in, so the Moments tab can replay a moment over your own visitors before you switch it on and show what it did afterwards. WordPress’s privacy tools export and erase a visitor’s journeys; nothing leaves your site. Off by default; off, WordSocket keeps nothing of a visit, as before.
- A tab that starts as a copy of another (a duplicated tab, a window a script opened) begins a journey of its own instead of carrying on the other tab’s
- New for extensions:
WPS::journeys()to put a reference and a value on a journey, end it with an outcome of their own (an order), credit the moments that led there, and have it drawn and named on the Journeys tab. - Fewer requests per page: moving between pages of your site no longer sends a leave report, and a visitor’s browser keeps its connection token for the next page rather than asking for a new one on every page a cache serves. The token’s 5-minute life can be changed with the
wpsignal_token_lifetimefilter, at the cost of a longer window before a logged-out user’s grants lapse. A visit is reported when something changed, not on every page: the first page, the tab going hidden, a page an extension names, and otherwise once a minute, so moving between pages costs your server nothing. - New for extensions: a firing report says how far into its step the moment fired, so a store can place it exactly on the journey, and the same route reports what the visitor did with the prompt: came back to the tab, dismissed it, or clicked something inside it.
- Fixed: a crawler rendering a page (Bing, Google, link previews, page-speed tools) no longer opens a connection, counts as a visitor or triggers a moment.
- Fixed: a link to an extension’s settings tab (
&tab=shopsocket) opens that tab every time; it used to land on Connect more often than not. - New: Style prompts, a button on the Settings tab’s Moments card. Set the background, text and border colours, the corner radius, padding, font size, shadow, the close button and the motion for every prompt, and again per prompt type (modal, banner, bar, toast, panel), from your theme’s own colours, spacing and font sizes, with a preview beside the controls.
- Fixed: a site’s script minifier (WP-Optimize and the like) could merge WordSocket’s page config, including a logged-in user’s token and nonce, into one cached file served to every visitor, after which no visitor could connect. The config is now printed as a data block minifiers leave alone, and a REST nonce the server refuses is renewed on the spot.
- Fixed: the trigger builder’s file now refuses direct access, the one error WordPress’s Plugin Check reported.
0.30.0
- New for extensions:
WPS.presence.track( channel )follows a visitor’s journey across the site over relay presence (the pages they open, with times, and when the tab is hidden) and reports each visit and leave to WordPress, where thewpsignal_visitor_visitandwpsignal_visitor_leaveactions let a plugin store it. WordSocket stores nothing itself - New: the
wpsignal_page_stepfilter names the step a page is in a journey - Fixed: a visitor page served from a full-page cache could fail to refresh its connection token because it carried a stale REST nonce; the nonce is now printed for logged-in visitors only
0.29.1
- Fixed: “Connect with WPSignal” on the Connect tab led to “The link you followed has expired” since 0.29.0, because the authorization link’s nonce was HTML-escaped. Manual connection with an API key was unaffected
0.29.0
- New: developer mode. The Triggers and Explorer tabs are shown only when “Show the Triggers and Explorer tabs” is on (Settings tab, Developer tools), so site owners see Connect, Settings and Extensions only
- Changed: the Settings tab shows its real-time collaboration section only while Gutenberg’s collaboration experiment is on
- Fixed: the Settings tab could show “Loading real-time collaboration settings…” indefinitely
- Changed: saves, connects and test publishes report as toasts at the bottom of the screen (red for an error) instead of notices in the page
- New for extensions:
window.wordsocket.useTaskruns a request and reports it in the same toasts
0.28.0
- New: extensions can add their own tab to the WordSocket settings page (
window.wordsocket.registerTab()); ShopSocket’s settings live there
0.27.0
- The browser client closes its connection when a page is left and opens a new one when a page comes back from the browser’s back/forward cache, so a site’s connection count follows open tabs rather than pages visited
- The client waits for a prerendered page to be shown before connecting
- The Extensions tab offers ShopSocket, now on WordPress.org, with a button that opens the plugin installer in place
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best WordSocket alternatives
All events plugins →FAQ
WordSocket: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is WordSocket free?
Yes. WordSocket is free to download and use from the official WordPress.org plugin directory.
Is WordSocket safe to use in 2026?
WordSocket is a solid plugin choice in 2026, with a few things worth checking first. Is rated 5/5 and was last updated 3 weeks ago, and scores 71/100 on our health check.
How many websites use WordSocket?
WordSocket is active on <10 WordPress websites and has been downloaded 1,930 times since it launched in March 2026. It was downloaded 279 times in the last 30 days.
Does WordSocket work with WordPress 7.1?
Yes. The developer has tested WordSocket up to WordPress 7.1.5, the latest release. It requires WordPress 6.7 or newer.
What PHP version does WordSocket need?
WordSocket requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WordSocket last updated?
The latest version, 0.31.0, was released on November 8, 2026 (3 weeks ago).
Who makes WordSocket?
WordSocket is developed and maintained by wpsignal.
What are the best alternatives to WordSocket?
The most popular alternatives to WordSocket are The Events Calendar (600K+ installs), Events Manager (60K+ installs) and Simple Calendar (50K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
