spiral/goridge
High-performance PHP-to-Go IPC bridge using sockets or pipes with native net/rpc support. Call Go services from PHP with minimal overhead, structured data via JSON/MsgPack, and efficient []byte payload transfer over TCP/Unix/streams. Works on Windows.
RelayInterface/CodecInterface, enabling future-proofing for new protocols.net/rpc, requiring only ext-sockets (optional for Unix/TCP) or standard streams.[]byte payloads.net/rpc. Mitigate with examples and RoadRunner docs.net/rpc?net/rpc, including:
github.com/go-redis/redis for Redis ops).UserService) alongside PHP.GoRPCClient) to abstract transport details.net/rpc.ext-sockets (Linux/macOS/Windows).RelayInterface for WebSocket, UDP, or QUIC.net/rpc.spiral/goridge and ext-sockets (if using TCP/Unix).greeter.Greeter).Goridge\RPC\RPC.ServiceException).ServiceException with Go stack traces.TransportException for network issues (e.g., socket timeouts).Psr\Log to log RPC calls/errors (example in RoadRunner docs)..phpstorm.meta.php).goridge-php/circuit-breaker) for Go service outages.net/rpc services behind a load balancer (e.g., Nginx, Envoy).How can I help you explore Laravel packages today?