Download the PHP package akumi-cloud/sdk without Composer
On this page you can find all versions of the php package akumi-cloud/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akumi-cloud/sdk
More information about akumi-cloud/sdk
Files in akumi-cloud/sdk
Package sdk
Short Description Official PHP SDK for the Akumi EU-sovereign inference API.
License MIT
Informations about the package sdk
Akumi PHP SDK
The official PHP client for Akumi, the EU-sovereign,
OpenAI-compatible inference API. One base_url for every model, governed and
metered, with your regulated data kept in the EU.
- Drop-in OpenAI-compatible. Chat completions, embeddings, and models under one key.
- EU-sovereign by default. Requests run on EU-resident models unless you explicitly allow otherwise; the egress guard fails closed.
- Governed, not just hosted. PII firewall, per-request residency, and a metadata-only audit trail come with every call.
- Dependable. Streaming responses and automatic retries on transient errors.
Requirements
PHP 8.2 or newer.
Install
Quickstart
Create an API key under app.akumi.eu -> Platform -> API keys, then:
Streaming
createStreamed() returns a generator of OpenAI-compatible chunks:
Embeddings
More resources
| Resource | Call |
|---|---|
| List available models | $akumi->models->list() |
| Long-term memory | $akumi->memory->forget([...]) |
| Conversation threads | $akumi->memoryThreads->list() |
| Audit logs | $akumi->auditLogs->list() |
Configuration
fromApiKey() connects to https://api.akumi.eu/v1 and retries transient
failures (429, 502, 503, 504) automatically. Pass a base URL to target another
host.
Documentation
- Guides: https://docs.akumi.eu
- API reference: https://docs.akumi.eu/api-reference
About
This SDK is generated from the Akumi OpenAPI specification, so it tracks the API automatically. Found a bug? Open an issue at https://github.com/akumi-cloud/php-sdk.
MIT licensed.
All versions of sdk with dependencies
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
php-http/discovery Version ^1.19