š New PHP Runners Are Built In Go Language
--
The new wave of PHP runners offer speed and async processing with the help of Go
As Mark Shust writes in a post that became his yearly tradition PHP is still dead running over 70% of all websites.
PHP actually grown over the years to be a stable and robust language to build apps. A language that is really safe.
Trends known from other language fandoms donāt miss PHP. While the language doesnāt change so much as other, younger ones, PHP is actively developed, but mostly with only bugfixes. A sign PHP language is so ready for production.
But it doesnāt mean nothing happens in the PHP ecosystem. One of the interesting trend is a set of new runners that try to offer an alternative for classical runners and PHP servers.
In this article Iāll tell you about four interesting PHP runners worth checking out.
FrankenPHP
Franken PHP is built on top of Caddy, offers compression and HTTP/2 and /3.
Itās written on Go, and may work as a worker. It doesnāt use PHP-FPM.
FrankenPHP comes as a single binary or a virtualization image for Kubernetes, Docker etc.
It comes with an alternative for WebSockets called Mercure to enable realtime communication between the server and browser.
Whatās also interesting is that it supports response code 103 known as early hints, where server responds before preparing everything. That way server can tell browser to load external CSS or JS while the response is baked.
I like that it supports modern performance solutions and realtime communication.
RoadRunner
The logo of RoadRunner is a combination of a seal and a duck. Canāt make up my mind if I like it more or less thanā¦