Skip to main content

WordPlus Cloud docs

Markdown

Add live updates, chat, who is online, calls and live streams to your site or app, on a cloud you never have to run.

Next.js, Express and any Node app

npm install @wordplus/realtime

Laravel and PHP

composer require wordplus/realtime-php

Django, FastAPI and Flask

pip install wordplus-realtime

A WordPress plugin or theme

composer require wordplus/realtime

iOS apps add the Swift package from its guide. The Android libraries are coming to Maven Central.

From the first page to production

Choose what you are building and your stack, and the links follow.

  1. What are you building?

  2. Which stack?

    Coming once their packages are published: Flutter and native calls in React Native. What each SDK has, platform by platform.

  3. Start

  4. Build

  5. Make it yours

  6. Go to production

The logos are trademarks of their owners. The Android robot is by Google, under CC BY 3.0, and the PHP logo by Colin Viebrock, under CC BY-SA 4.0.

WordPlus Cloud docs

Markdown

WordPlus Cloud is the realtime cloud for websites and apps. The realtime SDK gives your code what the WordPlus plugins run on:

  • Rooms and presence: events from your server to pages and apps and between them, with acks and history, who is in a room right now, and who is online anywhere in your app.
  • Calls between two people that ring in the browser and in apps, and group calls on the WordPlus Cloud media servers.
  • Live streams: one host live to an audience from the browser, a phone or OBS, with a chat, reactions and moderation, and visitors who watch without signing in.
  • Ready-made parts, all optional: the Better Messages call screen, and for apps its chat and list of who is online, and the Easy Stream player and studio, with no interface code to write.
  • Your rules: your server decides who may join, send, call, host and keep a chat, and WordPlus Cloud enforces what it answers.
  • Encryption and your users: what your code sends travels sealed with keys only your site or app and its users hold, and your users share one directory of their names and pictures.

Every page and app connects straight to a realtime server, and moves to another without a drop when one restarts.

Live demos​

The example app of every guide runs as a demo: a small shop, there only to show the API at work, the same on every stack. Ann works in the shop, Ben is a customer and Cara is in the warehouse, each in a window of their own. Orders move live, the three chat and see who is online, call each other and meet, and Ann goes live. Every visitor gets a shop of their own for a day.

WordPress · Next.js · Laravel · Django · FastAPI · Express · PHP · Flask · Mobile app

Whole sites run as demos too, each built in the Next.js guide: the dating site (its guide), with who is online, chat and video dates, Live Lessons (its guide), with teachers live in their lessons and students on stage, Team Space (its guide), a team intranet with a meeting room and channels for each team, Consultations (its guide), with times booked with experts, a waiting room and visits encrypted end to end, Community (its guide), a photography club with channels, lounges and live events, and the Marketplace (its guide), where a buyer talks to the seller, sees the item on a call and makes an offer. Their people are yours alone for a day, and a private window is a second person.

What you can build​

A page for each kind of app, with the code of your server in Node, PHP and Python and the code of the page, ready-made or your own: all use cases.

WordPress​

wordplus/realtime is the SDK for any WordPress plugin, theme or custom code on a site with a WordPlus Cloud subscription. Your plugin installs it with composer require wordplus/realtime, and every WordPlus plugin carries it.

  1. Getting started: installing, the site credentials, a first room and a first call.
  2. Rooms, presence, sending and events.
  3. Calls, group calls and the call screen.
  4. Encryption and the site users.
  5. The PHP reference and the JavaScript reference.
  6. Errors, limits and other servers.

Apps outside WordPress​

For any other site or app, your server declares the rooms and decides who may join, call and see what, and the page or app does the rest. Each guide is whole, in the code of its stack, and ends with an example app: the same shop in every one, so you can try what you read. What you can build shows the building blocks with examples, permissions every rule your server decides with, and your own interface how to draw everything with your own components, the ready-made parts left out. What each SDK has lays the packages side by side, feature by feature. Your framework runs websockets of its own? Why WordPlus Cloud says what the cloud runs for you, and what it adds.

GuideThe package for your serverThe package for the page or app
Next.js@wordplus/realtime/server@wordplus/realtime/react
Laravelwordplus/realtime-php@wordplus/realtime
Djangowordplus-realtime@wordplus/realtime
FastAPIwordplus-realtime@wordplus/realtime
Express, and other Node servers@wordplus/realtime/server@wordplus/realtime
PHP without a frameworkwordplus/realtime-php@wordplus/realtime
Flask, and other Python frameworkswordplus-realtime@wordplus/realtime
Mobile apps: React Native and Capacitorthe package for your server@wordplus/realtime/native, or as a page
iOS: Swiftthe package for your serverWordPlusRealtime
Android: Kotlinthe package for your servercloud.wordplus:realtime, coming to Maven Central
Any other stack, Node, PHP and Python side by side

Every guide shares the in-depth pages, permissions, the references for the server (Node, PHP, Python) and the browser, the elements, errors and limits.

How to get started

Apps on WordPlus Cloud come with a subscription, priced by concurrent connections. Choose your connections, starting from 1,000, and your account gets its Apps page.

Any other language​

A server in Go, Ruby, Java, .NET, Rust or any other language does what the packages do with the HTTP API and protocol: signed requests, the webhook, and the tokens and keys the browser asks your server for, with a whole server in Go as the example. The API is also an OpenAPI 3.1 file, openapi.yaml, for your tools and your agent.

Code built for Pusher​

Plugins and code already built for the Pusher Channels protocol connect too, through the Pusher-compatible API.

For AI coding agents​

llms.txt lists every page of these docs, for any tool that reads them. Use with AI agents has more.