PHP code example of khepin / rr-dumpserver
1. Go to this page and download the library: Download khepin/rr-dumpserver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
khepin / rr-dumpserver example snippets
use Khepin\RRDumpServer\RRDumper;
use Spiral\Goridge\RPC;
use Spiral\Goridge\SocketRelay;
$relay = new SocketRelay("127.0.0.1", 6001);
$rpc = new RPC($relay);
RRDumper::setupInstance($rpc);