PHPackages                             akumi-cloud/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. akumi-cloud/sdk

ActiveLibrary

akumi-cloud/sdk
===============

Official PHP SDK for the Akumi EU-sovereign inference API.

v0.1.0(today)00MITPHPPHP ^8.2

Since Jul 23Pushed todayCompare

[ Source](https://github.com/akumi-cloud/php-sdk)[ Packagist](https://packagist.org/packages/akumi-cloud/sdk)[ RSS](/packages/akumi-cloud-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (9)Versions (2)Used By (0)

Akumi PHP SDK
=============

[](#akumi-php-sdk)

The official PHP client for [Akumi](https://akumi.cloud), 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
------------

[](#requirements)

PHP 8.2 or newer.

Install
-------

[](#install)

```
composer require akumi-cloud/sdk
```

Quickstart
----------

[](#quickstart)

Create an API key under **app.akumi.cloud -&gt; Platform -&gt; API keys**, then:

```
use Akumi\Sdk\Akumi;

$akumi = Akumi::fromApiKey('mk_...');

$response = $akumi->chat->create([
    'model' => 'mistral/mistral-large-latest',
    'messages' => [
        ['role' => 'user', 'content' => 'Explain EU data residency in one sentence.'],
    ],
]);

echo $response['choices'][0]['message']['content'];
```

Streaming
---------

[](#streaming)

`createStreamed()` returns a generator of OpenAI-compatible chunks:

```
foreach ($akumi->chat->createStreamed([
    'model' => 'mistral/mistral-large-latest',
    'messages' => [['role' => 'user', 'content' => 'Write a haiku about Frankfurt.']],
]) as $chunk) {
    echo $chunk['choices'][0]['delta']['content'] ?? '';
}
```

Embeddings
----------

[](#embeddings)

```
$embeddings = $akumi->embeddings->create([
    'model' => 'mistral/mistral-embed',
    'input' => 'The quarterly report is ready for review.',
]);

$vector = $embeddings['data'][0]['embedding'];
```

More resources
--------------

[](#more-resources)

ResourceCallList available models`$akumi->models->list()`Long-term memory`$akumi->memory->forget([...])`Conversation threads`$akumi->memoryThreads->list()`Audit logs`$akumi->auditLogs->list()`Configuration
-------------

[](#configuration)

`fromApiKey()` connects to `https://api.akumi.cloud/v1` and retries transient failures (429, 502, 503, 504) automatically. Pass a base URL to target another host.

Documentation
-------------

[](#documentation)

- Guides:
- API reference:

About
-----

[](#about)

This SDK is generated from the Akumi OpenAPI specification, so it tracks the API automatically. Found a bug? Open an issue at .

MIT licensed.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84090c58cc4591b7ed619d3a9faafe559640291231381e31416bb9bd7ab5c03f?d=identicon)[jelle\_akumi](/maintainers/jelle_akumi)

---

Top Contributors

[![jspekken](https://avatars.githubusercontent.com/u/40019?v=4)](https://github.com/jspekken "jspekken (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/akumi-cloud-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/akumi-cloud-sdk/health.svg)](https://phpackages.com/packages/akumi-cloud-sdk)
```

###  Alternatives

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

1003.9M50](/packages/getbrevo-brevo-php)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

185702.8k44](/packages/laudis-neo4j-php-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
