PHP code example of uuf6429 / dnode-php-sync-client

1. Go to this page and download the library: Download uuf6429/dnode-php-sync-client 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/ */

    

uuf6429 / dnode-php-sync-client example snippets




e = new \uuf6429\DnodeSyncClient\Dnode();
$connection = $dnode->connect('localhost', 8080);
$response = $connection->call('echo', ['Hello, world!']);

var_dump($response);

array(2) {
  [0] =>
  NULL
  [1] =>
  string(13) "Hello, world!"
}
bash
composer