Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mithunsatheesh/php-drpc

Storm DRPC client for php. Simply connect to any storm DRPC server by passing in the host and port of targer DRPC server.
https://github.com/mithunsatheesh/php-drpc

Last synced: about 1 month ago
JSON representation

Storm DRPC client for php. Simply connect to any storm DRPC server by passing in the host and port of targer DRPC server.

Awesome Lists containing this project

README

        

# 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](https://getcomposer.org/).
Run the following command to install the package and add it as a requirement to your project's composer.json:

```bash
composer require mithunsatheesh/php-drpc
```

Create an instance of the drpc client to use:

```php
// 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](mail:[email protected])