Calling a Go Function from PHP

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • - Download’s Tech Salary Report
  • go-plugin

    Golang plugin system over RPC.

    How much control do you have on these? Could you run a custom extension on the PHP side? You could potentially make your Go function into a shared library object that could be loaded with FFI. Or you wrap the Go side in Hashicorp’s go-plugin ( ) and call it from a PHP gRPC client.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts