PHP Classes
elePHPant
Icontem

goridge: Run Golang code from PHP calling its RPC server

Recommend this page to a friend!
  Info   View files Example   View files View files (36)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-04-08 (5 months ago) RSS 2.0 feedNot enough user ratingsTotal: 67 All time: 9,203 This week: 458Up
Version License PHP version Categories
goridge 1.0.0The PHP License7.0Networking, Emulators, PHP 7
Description Author

This package can run Golang code from PHP calling its RPC server.

It can take a string with code in the Go language and executes it by connecting to a Golang remote procedure call server.

Innovation Award
PHP Programming Innovation award nominee
August 2017
Number 2


Prize: One big elePHPant Plush Mascott
Go is a programming language used for creating programs that often rely on parallel task execution.

The Golang provides a RPC module that allows remote applications to connect and execute Go code on the remote server.

This package can execute Go commands using Golang RPC server to communicate with it from PHP.

Manuel Lemos
Name: Wolfy-J <contact>
Classes: 3 packages by
Country: Belarus Belarus
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageexamples (3 files)
Files folder imagesource (4 files, 1 directory)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file .coveralls.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file codec.go Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file mock_test.go Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file pipe.go Data Auxiliary data
Accessible without login Plain text file pipe_test.go Data Auxiliary data
Accessible without login Plain text file prefix.go Data Auxiliary data
Accessible without login Plain text file prefix_test.go Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file relay.go Data Auxiliary data
Accessible without login Plain text file socket.go Data Auxiliary data
Accessible without login Plain text file socket_test.go Data Auxiliary data
Accessible without login Plain text file utils.go Data Auxiliary data
Accessible without login Plain text file utils_test.go Data Auxiliary data

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file client.php Example Example script
  Accessible without login Plain text file composer.json Data Auxiliary data
  Accessible without login Plain text file server.go Data Auxiliary data

  Files folder image Files  /  source  
File Role Description
Files folder imageExceptions (7 files)
  Plain text file RelayInterface.php Class Class source
  Plain text file RPC.php Class Class source
  Plain text file SocketRelay.php Class Class source
  Plain text file StreamRelay.php Class Class source

  Files folder image Files  /  source  /  Exceptions  
File Role Description
  Plain text file GoridgeException.php Class Class source
  Plain text file InvalidArgumentException.php Class Class source
  Plain text file PrefixException.php Class Class source
  Plain text file RelayException.php Class Class source
  Plain text file RPCException.php Class Class source
  Plain text file ServiceException.php Class Class source
  Plain text file TransportException.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageCases (3 files)
  Accessible without login Plain text file server.go Data Auxiliary data

  Files folder image Files  /  tests  /  Cases  
File Role Description
  Plain text file RPCTest.php Class Class source
  Plain text file TPCSocketTest.php Class Class source
  Plain text file UnixSocketTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:67
This week:0
All time:9,203
This week:458Up
User Comments (1)
Nice idea, good coding and example.
11 months ago (Maik Greubel)
77%StarStarStarStar