Examples
Every demo on this site runs inside the same php-via server you are connected to right now. There is no separate backend, no compiled JavaScript bundle, and no hydration step — just PHP, Twig, and a persistent SSE stream.
Reactive without JavaScript
Signals live on the server. Actions are PHP closures. The browser sends a POST and receives DOM patches over SSE — no client framework required.
Built-in multiplayer
Scope signals to a route, a session, or every connected client. Open two tabs and watch them stay in sync automatically.
MPA navigation
Full page loads, real URLs, browser history — no SPA router. SESSION-scoped signals follow the user across every page change.
Where to start
- Beginner
- Counter, Greeter, Live Search — signals, actions, and two-way binding in under 50 lines of PHP.
- Intermediate
- Shopping Cart, Login Flow, Multi-step Form — SESSION scope, PSR-15 middleware, file uploads, and server-side validation.
- Advanced
- Chat Room, Game of Life, SharedWorker Upload — custom scope strings, NATS pub/sub, and
extendedLifetimeSharedWorkers.