An interactive, hands-on tour
Phlo.
One language. One platform. From the first route to a full fleet. Page by page, see what Phlo does and how little code each feature takes.
01
What is Phlo
An integrated platform with its own full-stack language that compiles to readable PHP.
02
Hello Phlo
A route plus a view is a page. That is the whole of it.
03
View syntax
Tags, shorthands and four ways to put data on the page.
04
Control flow
Loops and conditions are tags that sit on their own line.
05
Props & methods
Static, computed and cached values, without boilerplate getters.
06
Routing
Match a URL with spaces, not slashes, and bind segments to variables.
07
Resources
Every capability is a resource: call charts, PDF, payments, OAuth or embeddings and it is just there.
08
Async forms
One route, two transports. The page updates with no reload and no JavaScript written.
09
The apply() protocol
The server returns DOM commands and phlo.js applies them.
10
Streaming
Flip one flag and a single response streams many updates.
11
Reactive store
Bind inputs and elements to a shared store, no manual DOM code.
12
Transitions
View transitions on every navigation, chosen at runtime.
13
Themes
Swap a set of CSS variables and the whole deck recolors.
14
Toasts & dialog
The server returns DOM commands, so toasts and dialogs appear with no client code.
15
Forms & fields
Typed fields render the form and validate the input.
16
Database & model
The model gives create, read, update and delete for free.
17
Charts
Dependency-free SVG charts straight from your data.
18
PDF on the fly
Render any HTML to a real, downloadable PDF on the server.
19
Spreadsheet import
Paste a CSV and the files/CSV resource parses it into rows on the server.
20
Markdown & images
Render markdown in the browser and resize an image on the server.
21
Live time & reveal
Timestamps tick by themselves and elements reveal as they scroll into view.
22
Realtime (Phlo Realtime)
Phlo Realtime pushes the same update to every open tab.
23
Parallel jobs
await() runs several app targets at once across the daemon pool.
24
Scheduled tasks
Declare tasks with a schedule; one cron entry per app fires what is due, every minute.
25
AI streaming
Stream an answer token by token over a single response.
26
AI memory (RAG)
Embed text, store the vectors and search by meaning. The model gets a memory.
27
Payments
Stripe Checkout, the billing portal and subscriptions behind a handful of calls.
28
SEO
Load one resource and get sitemap.xml, robots.txt, hreflang and the head meta.
29
Bilingual
This whole deck is bilingual. Flip the switch in the header.
30
The platform
Code, realtime, fleet: the layers that turn one language into infrastructure.