cqnce/sdk

Official PHP SDK for cQnce

Maintainers

Package info

github.com/cqnce-app/cqnce-sdk

Language:Java

pkg:composer/cqnce/sdk

Transparency log

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-08-05 14:30 UTC

This package is auto-updated.

Last update: 2026-08-05 14:37:03 UTC


README

This folder contains lightweight SDKs for common platforms with a consistent structure and minimal external dependencies.

Implemented SDKs:

  • Python
  • PHP
  • C# (.NET Standard 2.0 compatible API surface)
  • Go
  • Java
  • TypeScript (Node.js)

Each SDK focuses on:

  1. Request APIs (POST /v1/requests, POST /v1/requests/{id}/cancel, plus polling helpers)
  2. Callback management (HMAC verification for X-cQnce-Signature)

Common behavior

  • Base API path used by all SDKs: .../v1
  • Auth headers:
    • API key flow: x-api-key
    • Client credentials flow: x-client-id + x-client-secret
    • Optional external-client scoping header: x-client-id (with API key flow)

Callback verification

cQnce signs callbacks as:

  • Header: X-cQnce-Signature: sha256=<hex>
  • Digest: HMAC-SHA256(secret, rawRequestBodyBytes)

Always verify against the raw request body bytes.

Publishing

See sdk/PUBLISHING.md for package-manager specific publication flows (prerelease + production) for all SDKs.