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
Requires
- php: ^7.1|^8.2
- ext-json: *
- guzzlehttp/guzzle: ^6.3|^7.0
- illuminate/collections: ^5.5|^v6.18|^7.0|^8.0|^11.0
Requires (Dev)
- phpstan/phpstan: ^0.12.43
- phpunit/phpunit: ^7.0|^8.5.5|^9.0
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.