WebSocket-first
Persistent WebSocket connections with Server-Sent Events as automatic fallback. Keepalive pings every 20 seconds.
WPSignal serves as a WebSocket relay for your WordPress site. In combination with the WordSocket plugin, you can trigger events for any WordPress action hook. Dispatch events from your PHP code to all browsers connected to your site.
<Simple />
wp plugin install wordsocket --activate
composer require wpackagist-plugin/wordsocket
<Capabilities />
Persistent WebSocket connections with Server-Sent Events as automatic fallback. Keepalive pings every 20 seconds.
Every event is signed with SHA-256 HMAC. Timestamp replay protection and per-site rate limiting built in.
When using WordSocket, all events are AES-256-GCM encrypted before leaving WordPress. WPSignal only ever sees ciphertext.
Built-in admin page showing connection status, live event log, publish form, and token inspector for instant debugging.
Real-time collaboration is coming to WordPress core, and it is available today through the Gutenberg plugin: a collaborative block editor built on Yjs.
The default transport is HTTP polling. WordSocket registers as a WebSocket-based Yjs sync provider, replacing polling with a persistent low-latency connection using the same relay your events already run on. Install Gutenberg, connect WordSocket, and co-edit instantly. No extra configuration required.
<Code />
<What's next />
WPSignal is actively developed. Here's what's planned next.
WPSignal as a Tier 3 WebSocket sync provider for WordPress collaborative editing, powered by Yjs.
WordSocket is live on the WordPress.org plugin directory. Install it directly from WP Admin or via WP-CLI.
ShopSocket is a WordPress plugin that adds realtime overview of shoppers on your WooCommerce store and inventory updates to your users.
WPSignal currently supports blind-relay encryption, WPSignal only ever sees ciphertext. Soon E2E encryption will be supported.
One primary WordPress site dispatches events; connected child sites consume them. Cross-site event routing without duplication.
Allow multiple single user connections to be multiplexed through a single shared worker.
Free during beta. No credit card required. Sign up, connect your site, and push your first event in minutes.