Calling a Go Function from PHP

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • 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 (https://github.com/hashicorp/go-plugin ) and call it from a PHP gRPC client.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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