Code at the speed of thought.

Phlo transpiles to pure PHP and combines compact syntax with full-stack performance.

Why Phlo?

Speed

No detours.

Phlo runs directly on PHP. No interpreters, no bundlers, no hidden layer, just compact code that executes.

Concurrency

Backend and frontend, one file.

Routes can work synchronously and asynchronously without separate code paths. Phlo's frontend engine communicates incrementally with the backend, allowing you to easily build responsive and interactive applications.

Simplicity

No semicolons. No excuses.

One language for routes, views, styling, and frontend logic. No semicolons, no unnecessary folders, no external toolchains - just clean code that reads effortlessly.

Where Phlo stands out

Honest comparison with other PHP stacks What do we gain and where do we concede?

Phlo Laravel Livewire HTMX
Compiler model Compile-to-PHP Interpreted Interpreted Backend-agnostic
One language full-stack Yes, routes, views, CSS, JS in one file Blade + loose JS Blade + Livewire attributes HTML + backend of your choice
Async UI updates apply()-protocol from the same route Self build (Inertia, own JS) Server roundtrip per action HTML fragments over the wire
Realtime phloWS contract, built-in Echo + Pusher / Redis Echo via Laravel SSE-extension
Ecosystem & community Small, in growth Enorm, decades old Big within Laravel Large, framework-free

Simplicity in action

See how Phlo elegantly solves complex tasks.

				

route both GET demo image => view(%app->shell('Files/img', $this->content), 'Image demo')

prop image => %img(www.'logo.png')

view content:
{{ %app->intro('Files/img', 'Gebruikt GD om bitmapbestanden te inspecteren en te transformeren. Deze route leest de dimensies van www/logo.png.', 'img(www.logo.png)') }}
<article class="panel">
	<h2>Files/img</h2>
	<p>De image resource inspecteert een bestaande bitmap via GD.</p>
</article>
<section class="grid">
	{{ %app->value('Width', $this->image->width) }}
	{{ %app->value('Height', $this->image->height) }}
	{{ %app->value('Extension', $this->image->ext()) }}
</section>


			

Start in two minutes

With Docker you have a running app without installing anything: the installer asks for name, host and resources, resolves requirements and only finishes after a clean build.

With Docker (fastest)

$ docker run -it -v $(pwd)/app:/app ghcr.io/q-ainl/phlo php /phlo/install.php /app
$ docker run -p 80:80 -v $(pwd)/app:/app ghcr.io/q-ainl/phlo

Or from the source code

$ git clone https://github.com/q-ainl/phlo.git /srv/phlo
$ php /srv/phlo/install.php /srv/example.nl/

Prefer manual or more detail? The guide describes each step. Read the guide

We use essential cookies to make this site work. With your permission we also use analytics to improve the site.