Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mithunsatheesh/php-drpc
- Owner: mithunsatheesh
- License: mit
- Created: 2013-12-31T07:41:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T16:55:41.000Z (almost 2 years ago)
- Last Synced: 2024-11-29T06:17:12.665Z (about 1 month ago)
- Language: PHP
- Size: 68.4 KB
- Stars: 3
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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])