Huge breakthrough! ππ₯
What if you could run a cross-platform PHP CLI app without installing PHP? π€―
Turns out, you totally can! By embedding PHP & your code and wrapping it with Golang, it's now possible.
This is insanely cool. Check out the proof of concept
github.com/gwleuverink/embedded-php
Back
β’
As of right now the PoC compiles for Mac arm only.
Because it uses @nativephp static binaries & Golang under the hood this could totally cross-compile for most common architectures out there π₯
This can enable some really cool stuff. Like
Laravel Zero without having PHP on your user's machine π
Think of all the awesome devtools we could make with this π