A GET route with a view. One line to dispatch, one line to deliver HTML.
Phlo-bron
Output
Five examples that show how Phlo-bron transforms into PHP, HTML, and CSS. Click through, compare, get it in a minute.
A GET route with a view. One line to dispatch, one line to deliver HTML.
HTML in the same file as the logic. Dot syntax for class and id. Blank line closes the view.
Write in your source language. Phlo looks up translations via hash and falls back on the source.
An async route does not send HTML, but DOM commands. The client applies them directly.
CSS in the same file, one line per declaration, no semicolons.
With Docker in two minutes, without installing anything:
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
Complete installation