rdh-archipoint/rdh-socket-client

A socket client for RdhSocket

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rdh-archipoint/rdh-socket-client

1.0.0 2023-12-14 11:33 UTC

This package is not auto-updated.

Last update: 2025-10-17 19:21:26 UTC


README

RdhSocketClient is a socket client for RdhSocket.

Installation

Use composer to install RdhSocket.

composer require rdh-archipoint/rdh-socket-client

Usage

use RdhArchipoint\RdhSocketClient;

$r_client = new RdhSocketClient([
   'app_id' => 'APP_ID',
   'app_key' => 'APP_KEY',
   'token' => 'APP_TOKEN'
]);

# EMITS EVENT
$r_client->emit('CHANNEL_NAME','EVENT_NAME','DATA');

Replace APP_ID, APP_KEY, APP_TOKEN with your current RdhSocket application configuration.

License

MIT