Search by

hypelabs-llc / connect

hypelabs

The PHP client for the HypeLabs Connect API.

Package info

github.com/hypelabs-llc/php-sdk

pkg:composer/hypelabs-llc/connect

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-10-22 19:39 UTC

This package is auto-updated.

Last update: 2026-10-22 19:44:27 UTC


README

HypeLabs

HypeLabs Connect SDK

The PHP client for the HypeLabs Connect API.

Requirements

  • PHP 8.1 or later
  • A HypeLabs Connect API key (hl_live_…)

The client authenticates with an API key, so run it server-side (a backend or a job) — never ship your key to a browser or a client app.

Install

  1. Add the package:

    composer require hypelabs-llc/connect
  2. Create your organization on the HypeLabs Console and generate an API key.

Usage

Create a client with your API key and call the API. Every call returns a promise resolving to typed models.

<?php

require 'vendor/autoload.php';

use function HypeLabs\Connect\Sdk\createConnectClient;

$client = createConnectClient(getenv('CONNECT_API_KEY'));

$proxies = $client->proxies()->get()->wait();
foreach ($proxies ?? [] as $proxy) {
    echo $proxy->getId() . PHP_EOL;
}

The API is authenticated with the X-Api-Key header, wired up internally — you never touch the Kiota plumbing.