spiral/goridge
High-performance PHP-to-Golang RPC bridge
4.2.2
16M downloads/mo
#742 most downloaded on Packagist
roadrunner-php/goridge
What this package is like to depend on
Last release 3 months ago
11 May 2026
Ships fairly regularly
a new release about every 4 months
Most releases are documented
notes for 31 of 40 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
44 releases · first in 2017
1 release in the last 12 months
see the full history below
Release timeline
43 releases · Aug 2017 to May 2026Releases
latest 44-
4.2.211 May 2026Release notes
Open source →What's Changed
- Fix "Undefined array key 0" warning in MultiRPC constructor by @SpartakusMd in #36
New Contributors
- @SpartakusMd made their first contribution in #36
Full Changelog: 4.2.1...4.2.2
-
4.2.105 May 2025Release notes
Open source →What's Changed
- fix(typo): typo in
phpdoc Relay::createmethod by @mtamazlicaru in #27 - Bump google.golang.org/protobuf from 1.27.1 to 1.33.0 in /examples by @dependabot in #28
- Fix typo in README.md by @NicolasCARPi in #29
- Allow RoadRunner 2025 by @roxblnfk in #35
New Contributors
- @mtamazlicaru made their first contribution in #27
- @dependabot made their first contribution in #28
- @NicolasCARPi made their first contribution in #29
Full Changelog: v4.2.0...v4.2.1
- fix(typo): typo in
-
v4.2.011 Apr 2024Release notes
Open source →What's Changed
- Added RPC Implementation using multiple relays to enable async communication by @L3tum in #25
- Added support for RoadRunner v2024.1 by @msmakouz in #26
New Contributors
Full Changelog: 4.1.1...v4.2.0
-
4.1.121 Dec 2023Release notes
Open source →What's Changed
- Added missed
Spiral\Goridge\RPC\Exception\ServiceExceptionto PHPDoc, added PHP 8.3 to GitHub actions by @msmakouz in #21
Full Changelog: 4.1.0...4.1.1
- Added missed
-
4.1.003 Oct 2023 -
4.0.013 Apr 2023Release notes
Open source →Features
- Upgraded to PHP 8.1
- Upgraded to PHPUnit 10
- Upgraded to Psalm 5
- Added reusable Gh Actions
- Added metapackage spiral/roadrunner:^2023
API changes:
- Added new
BYTE10_STOPflag constant toFrameclass. - Added
Relay::hasFrame()method. - Added
hasFrame()public method toSocketRelayandStreamRelayclasses. - Added
hasFrame()method toRelayInterface. - Changed the signature of
encode()anddecode()methods inMsgpackCodec,ProtobufCodec,JsonCodeandCodecInterfaceclasses. - Changed the signature of
call()function inRPCInterface. - Removed
StringableRelayInterfaceclass. - Added
SocketTypeenum
-
v3.2.127 Jun 2024Release notes
Open source →What's Changed
- Fixed the sequence counting when using multiple RPC instances by @shellphy in #31
- Methods
RPC::fromEnvironmentandRPC::fromGlobalsmarked as deprecated by @roxblnfk in #14
Full Changelog: v3.2.0...v3.2.1
-
v3.2.021 Mar 2022Release notes
Open source → -
v3.1.213 Jan 2022Release notes
Open source →What's Changed
- Update .gitattributes (exclude psalm config & examples from export) by @tarampampam (#8)
- Update tests by @roxblnfk (#9)
- add mutation testing
- fix Psalm issues
- add PHP 8.1 in CI
- add preffer-stable mode in ci
- update dependencies
New Contributors
Full Changelog: v3.1.1...v3.1.2
Release notes
Open source →- Update .gitattributes (exclude psalm config & examples from export) by @tarampampam (#8)
- Update tests by @roxblnfk (#9)
- add mutation testing
- fix Psalm issues
- update dependencies
-
v3.1.110 Jun 2021 -
v3.1.010 Jun 2021Release notes
Open source →- Added optional
RPC::call()3rdoptionsargument. - Added protobuf codec.
- Added simple autocomplete.
- Added optional
-
v3.0.111 Mar 2021 -
v3.0.029 Dec 2020Release notes
Open source →- Full rewamp of protocol, added support for arbitrary options
- Reduced number of syscalls
- Added support for multi-codec RPC
- Support for binary RPC calls
- 25% performance increase
- PHP code split from the main Golang repository
-
v3.0.0-beta4no date pre-releaseNothing published for this version
-
v3.0.0-beta311 Dec 2020 pre-releaseNothing published for this version
-
v3.0.0-beta210 Dec 2020 pre-releaseNothing published for this version
-
v3.0.0-beta110 Dec 2020 pre-releaseNothing published for this version
-
v2.4.514 Aug 2020Nothing published for this version
-
v2.4.425 May 2020Nothing published for this version
-
v2.4.322 May 2020Nothing published for this version
-
v2.4.219 May 2020Release notes
Open source →- Add phpstan analyzer
- Fix code warnings from phpstan
- Improve Relay factory and SocketRelay
- Improve test coverage
- Performance improvements
- See the full milestone here: link
-
2.4.106 May 2020Nothing published for this version
-
2.4.005 May 2020 -
v2.3.322 Apr 2020Nothing published for this version
-
v2.3.221 Apr 2020Nothing published for this version
-
v2.3.023 Mar 2020Release notes
Open source →- Replaced std encoding/json package with the https://github.com/json-iterator/go
- Added BORS and GHA support
- golang modules updated to v2
-
v2.2.130 Nov 2019 -
v2.2.029 Nov 2019Release notes
Open source →- Updated travis to support go 1.13
- Updated tests (errors handling, simplify)
- Add go modules support
- Optimize pack function
by @ValeryPiashchynski
-
v2.1.401 Apr 2019 -
v2.1.320 Dec 2018Release notes
Open source →- improved performance (reduced number of syscalls required for Send command)
-
v2.1.207 Jun 2018Release notes
Open source →- added 8 more bytes to the payload
- added error detection mechanism over binary masks
- added panic handler for pipe relay
-
v2.1.107 Jun 2018Nothing published for this version
-
v2.1.003 Jun 2018Release notes
Open source →- added golang ClientCodec implementation
- additional error detections
- added sequence support
- more tests
-
v2.0.503 Apr 2018Release notes
Open source →- handled possible panic on reading from broken connection in socket relay
-
v2.0.421 Mar 2018Release notes
Open source →- minor performance improvement in memory allocation for buffer by @243083df
-
v2.0.320 Feb 2018 -
v2.0.229 Jan 2018 -
v2.0.123 Jan 2018 -
v2.0.017 Nov 2017Release notes
Open source →- ext-sockets is not required anymore
- Connection renamed to Relay
- JsonRPC renamed to RPC
- Performance optimizations (+20% speed improvement)
- Added relay over standard streams and pipes
- Added ability to invoke PHP from Go
- Added control headers to manage execution flow
- CLOSE_CONNECTION and KEEP_CONNECTION constants are removed
- *_BODY constants renamed to PAYLOAD_* to comply with .go code
- Protocol is extracted from Codec as independent abstraction
- Simplified RPC Codec implementation
- Code is formatted to comply to Golint
- More tests
- More documentation
- More error checks in PHP code
- License holder moved from Spiral Framework to SpiralScout
-
v1.0.421 Aug 2017 -
v1.0.314 Aug 2017Nothing published for this version
-
v1.0.214 Aug 2017Nothing published for this version
-
v1.0.114 Aug 2017 -
v1.0.013 Aug 2017