egensolve / calls
Trusted-backend PHP client for Egensolve Calls
Requires
- php: ^8.4
- egensolve/cloud-sdk-http: ^0.2.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-29 16:55:40 UTC
README
Use this client from a trusted application backend to create and manage Calls sessions, issue short-lived join credentials, and manage participant admissions and publication. Authorize each action in your application before calling the client. Keep the machine credential in server configuration. Use the shared HTTP transport for responses and errors.
Use from Laravel
Register the client in your application's service provider and inject it into the service that handles Calls requests.
use Egensolve\Realtime\Contracts\Calls\CallsClient; $this->app->singleton(CallsClient::class, static fn () => new CallsClient( baseUrl: (string) config('services.egensolve.url'), machineCredential: (string) config('services.egensolve.machine_credential'), ));
The client accepts an optional Egensolve\Realtime\Contracts\Http\Transport
for custom HTTP handling or tests. Supply a stable idempotency key when retrying the
same mutation. Keep admission and operation references when reconciling pending
participant actions.
The package requires PHP 8.4 or later and Egensolve's maintained MIT-licensed
egensolve/cloud-sdk-http package from version 0.2.1 in the 0.2 series. Reusing
the shared package keeps credential handling and response limits in one place
and avoids a second HTTP implementation. Applications pinned to shared HTTP 0.2.0
must update those pins before adding Calls to the same Composer project.