PHPackages                             iotamine/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. [API Development](/categories/api)
4. /
5. iotamine/sdk

ActiveLibrary[API Development](/categories/api)

iotamine/sdk
============

Official PHP SDK for Iotamine Cloud API

00PHP

Since Jul 28Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

🌐 Iotamine PHP SDK
==================

[](#-iotamine-php-sdk)

The **Iotamine PHP SDK** allows developers to easily interact with the [Iotamine Cloud API](https://iotamine.com).
Create, manage, and automate your Virtual Machines (VPS) and cloud infrastructure using PHP.

---

🚀 Features
----------

[](#-features)

- 🔐 Authenticate using API Key
- 💻 Create and manage VPS instances
- 🔁 Start, stop, restart, power off, or rebuild VMs
- 🧱 List available OS templates and POP (regions)
- 📦 Fully Composer-compatible and PSR-4 autoloaded

---

📦 Installation
--------------

[](#-installation)

```
composer require iotamine/sdk
```

> If not published yet, clone the repo and add to your project's `composer.json` manually using `"repositories"` and `"path"` keys.

---

🛠 Usage
-------

[](#-usage)

### Initialize Client

[](#initialize-client)

```
require 'vendor/autoload.php';

use Iotamine\IotamineClient;
use Iotamine\VM;
use Iotamine\Core;

$client = new IotamineClient("your-api-key");
$vm = new VM($client);
$core = new Core($client);
```

---

🔧 Examples
----------

[](#-examples)

### List OS &amp; POPs

[](#list-os--pops)

```
$osList = $core->listOS();
$popList = $core->listPOP();
print_r($osList);
print_r($popList);
```

### Create a VM

[](#create-a-vm)

```
$response = $vm->create(
    "my-server",
    "StrongPass@123",
    $osList[0]['id'],
    $popList[0]['id'],
    2,      // CPU cores
    4,   // RAM in GB
    80      // Disk in GB
);
print_r($response);
```

### Start/Stop VM

[](#startstop-vm)

```
$vm->start($vpsId);
$vm->stop($vpsId);
```

### Destroy VM

[](#destroy-vm)

```
$vm->destroy($vpsId);
```

---

📂 Folder Structure
------------------

[](#-folder-structure)

```
iotamine-php-sdk/
├── src/
│   ├── IotamineClient.php  # Core HTTP client
│   ├── VM.php              # VPS operations
│   └── Core.php            # List OS / POP
├── composer.json
├── README.md

```

---

✅ Requirements
--------------

[](#-requirements)

- PHP 7.4 or later
- Composer
- OpenSSL enabled in PHP
- [Guzzle HTTP client](https://github.com/guzzle/guzzle) (auto-installed)

---

🔒 Authentication
----------------

[](#-authentication)

All API requests require a valid **API Key** which can be generated from the [Iotamine Control Panel](https://iotamine.com/control).

> The key is passed using the header: `Authorization: Api-Key `

---

🧪 Development
-------------

[](#-development)

Clone this repository:

```
composer install
```

---

🪪 License
---------

[](#-license)

This SDK is licensed under the [MIT License](LICENSE).

---

🌐 Resources
-----------

[](#-resources)

- 🌍 [Iotamine Website](https://iotamine.com)
- 🧑‍💻 [Iotamine Control Panel](https://iotamine.com/control)

---

🤝 Contributing
--------------

[](#-contributing)

Pull requests and issue reports are welcome. Feel free to fork the repo and submit a PR.

---

🙋 Need Help?
------------

[](#-need-help)

If you have any questions or want to suggest improvements, feel free to reach out via .

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6f2e7ad4195d7c8881e094909fb22c3b56e0044ea3cabadd0bd63fd72da2280?d=identicon)[iotamine](/maintainers/iotamine)

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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