Download the PHP package isa-sdk/sdk without Composer
On this page you can find all versions of the php package isa-sdk/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package sdk
Short Description Unified PHP SDK for the ISA Platform (zyins, rapidsign, proxy). Bearer / License / Session factories, idempotent mutations, typed value objects, typed exception funnel. Companion to @software-automation-holdings-llc/sdk (JS), sah-sdk (Python), and github.com/Software-Automation-Holdings-LLC/sdk (Go).
License Apache-2.0
Informations about the package sdk
sah/sdk (PHP)
Unified PHP SDK for the Best Plan Pro API — powered by the ZyINS engine. One Composer package, three product
namespaces: zyins (underwriting), rapidsign (envelope and document
workflows), proxy (/v1/call Algosure-HMAC bridge).
The canonical surface across SDK languages is the unified JS package at
packages/ts/src/ (entry). This PHP package mirrors
that surface in idiomatic PHP 8.2 — readonly classes, constructor
promotion, named-args, PSR-18 transport.
Install
(Private Packagist; auto-update is wired to this repository. Tag pattern is
sdk/vX.Y.Z on isa-platform — one tag, one publish per language. The flat
sdk-php mirror is tagged vX.Y.Z for Packagist webhook discovery.)
Quick start — bearer mode
Factories
| Factory | Env vars consulted when unset | Wire shape |
|---|---|---|
Isa::withBearer($token = null) |
ISA_TOKEN |
Authorization: Bearer isa_* |
Isa::withKeycode($keycode = null, $email = null) |
ISA_LICENSE_KEYCODE, ISA_LICENSE_EMAIL |
Authorization: License <b64> |
Isa::withLicense($keycode = null, $email = null) |
ISA_LICENSE_KEYCODE, ISA_LICENSE_EMAIL |
Authorization: License <b64> — deprecated alias for withKeycode |
Isa::withSession($id = null, $secret = null) |
ISA_SESSION_ID, ISA_SESSION_SECRET |
Authorization: Session <id> |
withKeycode is the canonical factory for agent-tool (BPP) integrations. withLicense is a deprecated alias that will be removed in a future major version. Use withKeycode in new code.
Missing env vars raise Isa\Sdk\Zyins\Exception\IsaConfigException with the
exact variable name in the message.
Your first call
Per-surface API versions
The ISA API is a federation of independently versioned surfaces. Every SDK
release exports a frozen BundledApiVersions::MAP recording which /vN
each surface targets:
Pin individual surfaces with a per-surface apiVersion map. There is no
default key and no string shorthand — resolution is
$apiVersion[$surface] ?? BundledApiVersions::MAP[$surface]:
The release that retargets prequalify / quote / datasets / reference
to v3 will bump those entries. See SDK syntax proposal §2.7.
Reference data — ->match()
The unversioned $isa->zyins->reference namespace canonicalizes free-text
medication and condition input. Unknown text never rejects — it returns a
structured concept with isKnown === false, so the final canonicalization
fires server-side at /vN/prequalify:
Sort::MostCommonFirst and Sort::Alphabetical are the two supported
orderings.
Case storage — bring your own
$isa->zyins->cases->* routes through a CaseStorage adapter. The
default is the zero-knowledge store — ISA's servers only hold ciphertext
and an opaque ID. To plug a carrier-controlled store, pass your adapter at
construction:
See cases guide for the full bring-your-own pattern.
Product namespaces
Each sub-namespace's services preserve the same request envelope and error funnel:
IsaIdempotencyConflictExceptionwithgetKey(),getFirstSeenAt()— retryable conflict onIdempotency-Key.Envelope(readonly):requestId,idempotencyKey,retryAttempts.withRawResponse()variants — return[$data, $rawResponse]for callers that need the underlying PSR-7 response.- Cursor escape hatch on list iterators — the iterator wrapper exposes
cursor()so callers can resume pagination across processes. - Stderr-only debug logging via
fwrite(STDERR, ...)whenISA_LOG=debug, guarded by a PSR-3 logger so callers can route elsewhere.
See MIGRATION.md for the move from the per-product
packages (sah/sdk-zyins, sah/sdk-rapidsign, sah/sdk-proxy,
isa-sdk/core-transport).
Development
Licenses and Ready
The PHP SDK exposes the public BPP license-lifecycle surface and the
platform readiness probe on every ZyInsClient:
/v1/licenses/check and /v1/licenses/deactivate are public; /ready
is the unauthenticated load-balancer probe.
All versions of sdk with dependencies
ext-json Version *
ext-hash Version *
ext-zlib Version *
ext-intl Version *
ext-mbstring Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.0 || ^2.0
psr/log Version ^1.1 || ^2.0 || ^3.0
guzzlehttp/guzzle Version ^7.8
guzzlehttp/psr7 Version ^2.6
ramsey/uuid Version ^4.7