Search by

egensolve / calls

egensolve

Trusted-backend PHP client for Egensolve Calls

Package info

github.com/Egensolve/calls-php

Language:JavaScript

pkg:composer/egensolve/calls

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.2.0 2026-11-28 18:30 UTC

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.