atsicorp/hetzner-cloud

A PHP SDK for the Hetzner Cloud API.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/atsicorp/hetzner-cloud

v0.0.2-stable 2024-09-19 21:11 UTC

This package is auto-updated.

Last update: 2025-12-22 05:42:04 UTC


README

A PHP SDK for the Hetzner Cloud API: https://docs.hetzner.cloud/

Installation

You can install the package via composer:

composer require atsicorp/hetzner-cloud

Usage

$hetznerClient = new \atsicorp\HetznerCloud\HetznerAPIClient($apiKey);
foreach ($hetznerClient->servers()->all() as $server) {
    echo 'ID: '.$server->id.' Name:'.$server->name.' Status: '.$server->status.PHP_EOL;
}

Testing

You can just run phpunit. The whole library is based on unit tests and sample responses from the official Hetzner Cloud documentation.

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please email atsidev.io@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.