rdh-archipoint/rdh-socket-client

A socket client for RdhSocket

Maintainers

Package info

github.com/David-RDH/RdhSocketClient

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

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2023-12-14 11:33 UTC

This package is auto-updated.

Last update: 2026-04-08 16:36:08 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