Official PHP SDK for the KmerHosting API.

Maintainers

Package info

github.com/KmerHosting/sdk

Language:Java

pkg:composer/kmerhosting/sdk

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v0.2.1 2026-09-01 05:50 UTC

This package is auto-updated.

Last update: 2026-09-01 15:32:30 UTC


README

Official server-side SDKs for the KmerHosting API.

Verify SDKs API documentation

📦 Install

TypeScript

npm install @kmerhosting/sdk

Python

pip install kmerhosting-sdk

PHP

composer require kmerhosting/sdk

Java

Add this dependency to pom.xml:

<dependency>
  <groupId>com.kmerhosting</groupId>
  <artifactId>kmerhosting-sdk</artifactId>
  <version>0.3.0</version>
</dependency>

🔑 Authentication

Set your API key in the server environment:

export KMERHOSTING_API_KEY="kh_live_..."

All SDKs read KMERHOSTING_API_KEY automatically.

Keep this key on your server. Never put it in browser code, mobile apps, GitHub, or logs.

Quick use

TypeScript

import { KmerHostingClient } from "@kmerhosting/sdk";

const client = new KmerHostingClient();
const services = await client.services.list();

console.log(services);

Python

from kmerhosting import KmerHostingClient

client = KmerHostingClient()
services = client.services.list()

print(services)

PHP

<?php

require __DIR__ . "/vendor/autoload.php";

use KmerHosting\\Client;

$client = new Client();
$services = $client->services()->all();

print_r($services);

Java

import com.kmerhosting.sdk.KmerHostingClient;

var client = new KmerHostingClient();
var services = client.services().list();

System.out.println(services);

What you can manage

  • Account and service inventory
  • Domains and DNS records
  • Email Hosting
  • Shared Hosting
  • Read-only LXC instance inventory
  • KVM lifecycle, renewal, and snapshot resources
  • Safe service actions

Every write operation supports idempotency for safe retries.

Documentation

🏷️ Packages

Language Package manager Package
TypeScript npm @kmerhosting/sdk
Python PyPI kmerhosting-sdk
PHP Composer kmerhosting/sdk
Java Maven Central com.kmerhosting:kmerhosting-sdk

📄 License

Apache-2.0. KmerHosting trademarks are not granted by the license.