Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 724 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 724 Bytes

PHP-DRPC

php drpc client written on top of thrift library to connect to drpc topologies running on storm.

How To Use

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);

Still not working?

If you still got trouble mail me the issue