Iβve built a library that allows you to call PHP from Go without relying on cgo. It works anywhere a Go single binary can run. Itβs called "Gophper"βhow are you even supposed to pronounce that? π
It even runs Laravel! Over HTTPS, too! Plus, you can implement PHP extensions onβ¦
GitHubGitHub - mpyw/gophper: Run PHP from Go with no cgo: the real php-src on WebAssembly, via wazero. A library, a CLI, an HTTP server and a FastCGI server, on Linux, macOS and Windows.Run PHP from Go with no cgo: the real php-src on WebAssembly, via wazero. A library, a CLI, an HTTP server and a FastCGI server, on Linux, macOS and Windows. - mpyw/gophper