Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Goridge Laravel Package

spiral/goridge

Spiral GoRidge is a high-performance PHP↔Go RPC bridge used by RoadRunner. It provides fast inter-process communication via relay transports (pipes, TCP, sockets) with a compact binary protocol, enabling scalable PHP apps and background workers.

View on GitHub
Deep Wiki
Context7
v3.2.0
  • Support for streamed output by @roxblnfk (#13)
v3.1.2
  • 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.1
  • Fix .phpstorm.meta.php autocompletion
v3.1.0
  • Added optional RPC::call() 3rd options argument.
  • Added protobuf codec.
  • Added simple autocomplete.
v3.0.1
  • Fix lowercase formatting in unix socket (#3, #4)
v3.0.0
  • 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
v2.4.2
  • Add phpstan analyzer
  • Fix code warnings from phpstan
  • Improve Relay factory and SocketRelay
  • Improve test coverage
  • Performance improvements
  • See the full milestone here: link
v2.4.0
  • More tests for PHP (@vvval)
  • Upgrade PHP version to the 7.2 (currently minimum supported)
  • Add new RelayInterface link (@vvval)
  • See the full milestone here: link
v2.3.1
  • Syscall usage optimized. Now the data is packing and sending via 1 (or 2 in some cases) send_socket calls, instead of 2-3 (by @vvval)
  • Unix sockets supported on windows (AF_UNIX) starting from OS Build 17056.
  • Added the ability to define own relay with a codec (by @Reasno)
v2.3.0
v2.2.1
v2.2.0
  • Updated travis to support go 1.13
  • Updated tests (errors handling, simplify)
  • Add go modules support
  • Optimize pack function

by @ValeryPiashchynski

v2.1.4
  • minor performance improvements by @zloyuser
  • removed nighly from travis
v2.1.3
  • improved performance (reduced number of syscalls required for Send command)
v2.1.2
  • added 8 more bytes to the payload
  • added error detection mechanism over binary masks
  • added panic handler for pipe relay
v2.1.0
  • added golang ClientCodec implementation
  • additional error detections
  • added sequence support
  • more tests
v2.0.5
  • handled possible panic on reading from broken connection in socket relay
v2.0.4
  • minor performance improvement in memory allocation for buffer by @243083df
v2.0.3
  • fixed unix socket support on MacOS by @bgetsug
v2.0.2
  • typo in SOCK_TPC constant
v2.0.1
  • support sending empty string payloads without PAYLOAD_NONE flag
v2.0.0
  • 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.4
  • library dependency downgraded to support PHP7.0 by @thePanz
v1.0.1
  • service level exception for invalid json payloads
v1.0.0
  • public Goridge release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport