Skip to content

HData-org/php-hdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interact with HData servers using PHP

Latest Version on Packagist Total Downloads

See https://github.com/HData-org/hdata/tree/master/server for creating an HData server to connect this package with.

Installation

You can install the package via composer:

composer require hdata/hdata

Usage

Note: Be sure to have the php_openssl extension enabled.

use HData\HData;

$host = "127.0.0.1";
$port = 8888;

$hdata = new HData\HData($host, $port);

echo $hdata->getStatus();

$hdata->disconnect();

License

The Apache License 2. Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate by Beyond Code.