Hacker News new | ask | show | jobs
by nchmy 254 days ago
Just wait til he embraces Go and uses Frankenphp + Mercure or NATS - a single binary that'll run on a raspberry pi!
1 comments

Definitely something I want to explore! For this demo in particular, I wanted to stick with native PHP tooling and Redis (ubiquitous in the PHP ecosystem).

Have yet to look into making Mercure work with Datastar’s SSE events, have you done so?

Makes sense! Nginx and redis are defintiely common for php.

I haven't used Mercure at all, but I see no reason why it couldn't work with datastar. Might be something worth exploring, since it and the API Platform seem to be gaining traction in php.

With frankenphp's newish support for custom php extensions written in Go, I wonder if you could even call Mercure and/or nats directly from the php code...