php drpc client written on top of thrift library to connect to drpc topologies running on storm.
The preferred method of installation is via Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:
composer require mithunsatheesh/php-drpc
Create an instance of the drpc client to use:
// Require the Composer autoloader.
require 'vendor/autoload.php';
// Instantiate the DRPC client.
$drpc = new DRPC("xxx.xxx.x.xx",3772,NULL);
$result = $drpc->execute("CallFunctionName",$params);
If you still got trouble mail me the issue