SDKs
PHP SDK
The official PHP SDK — one method per API operation, generated from the OpenAPI contract and versioned with the API.
Packagist · shipflux/shipflux-php
What you get
One method per API operation, generated from openapi.yaml
Auth, Idempotency-Key on writes, and retry-with-backoff built in
Envelope unwrapping to typed data and typed errors
The exact webhook-signature verifier the backend signs with
Install
composer require shipflux/shipflux-phpAuthentication
Authenticate with an API key (Authorization: Api-Key sk_<env>_…) and send an Idempotency-Key on writes. Start against the sandbox with an sk_test_ key — it routes every courier to a deterministic mock and auto-funds your wallet.