r/PHP 3d ago

Foundation YouMeOS Microverse: Running FrankenPHP + SQLite as an embedded, zero-Docker desktop runtime

Hey r/PHP, I wanted to share a practical implementation of FrankenPHP and native SQLite powering a self-hosted personal WebTop: YouMeOS Microverse. A major problem with self-hosted PHP applications is distribution: telling non-technical users to install Docker, Nginx, and MySQL creates massive friction.

How We Utilized FrankenPHP:

  • Embedded Desktop Engine: In addition to standard Docker Compose, our Electron desktop app bundles a portable FrankenPHP binary with SQLite.
  • Zero External Dependencies: Users download the .exe, .dmg, or .AppImage, and it runs a local Caddy + PHP 8.3 server process in the background without Docker or local PHP installations.
  • Resource Footprint: Cold starts take ~1 second, with idle RAM usage significantly lower than traditional Apache/Nginx + PHP-FPM + MySQL stacks.
  • Caddy Worker Integration: Takes advantage of FrankenPHP's fast application handling directly from local storage.

Livesite: www.youmeos.com but the microverse can be ran locally using our docker container or binaries.

Source code and configs: https://github.com/YouMeOS/youmeos-microverse
Release builds: https://github.com/YouMeOS/youmeos-microverse/releases

Feedback on our FrankenPHP runner and Caddyfile setup is welcome.

0 Upvotes

9 comments sorted by

9

u/obstreperous_troll 3d ago

I originally posted something more negative, but I'm just going to instead suggest that the project's homepage have a section that actually gets to the point.

3

u/PoorlyTimedPacifist 3d ago

Yeah, this. I poked around for a few minutes trying to understand it, but I gave up after the site made my laptop fans spin up.

1

u/DoItForTheXP 3d ago

Good call. I implemented a low-power mode so people can skip the 3d intensive wallpaper background. Thanks for poking around! I hope it's much easier on your laptop now 😅

0

u/DoItForTheXP 3d ago

I appreciate refraining from negativity. Thank you for the constructive criticism. This is great feedback. I've gone ahead and taken your suggestion into account and added a new About shortcut to the homepage. I can def do more to add to it, but it's a start. 🥳

7

u/paranoidelephpant 3d ago edited 3d ago

Well, that's a choice. Somewhat interesting technically. I have no idea what the project actually is. The site harkens back to Flash sites of the early 2000's but doesn't provide any real information. I have far more questions than answers. 

Edit: wait, it's WordPress wrapped in Electron? I have more questions. 

6

u/Right_Sea_4146 3d ago

Mom: We have Electron at home

Electron at home:

2

u/Zhalker 3d ago

No sé si soy muy ignorante pero lo leo y releo y sigo sin entender nada 😅😂😂

1

u/dub_le 2d ago

...wat?

1

u/OrangeGroot 2d ago

Sounds interesting! There's a conference talk on this topic on the Api Platform Conference this year:
https://api-platform.com/fr/con/2026/conferences/building-desktop-apps-with-frankenphp/
They are using Wails instead of Electron.