hypelabs-llc / connect
The PHP client for the HypeLabs Connect API.
v0.1.0
2026-10-22 19:39 UTC
Requires
- php: >=8.1
- microsoft/kiota-bundle: 2.1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-22 19:44:27 UTC
README
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
-
Add the package:
composer require hypelabs-llc/connect
-
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.