PHP code example of mithunsatheesh / php-drpc

1. Go to this page and download the library: Download mithunsatheesh/php-drpc 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/ */

    

mithunsatheesh / php-drpc example snippets


// Require the Composer autoloader.
rpc = new DRPC("xxx.xxx.x.xx",3772,NULL);
$result = $drpc->execute("CallFunctionName",$params);
bash
composer