PHPackages                             eugenecooper/hetzner-cloud-php-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. eugenecooper/hetzner-cloud-php-sdk

ActiveLibrary[API Development](/categories/api)

eugenecooper/hetzner-cloud-php-sdk
==================================

An unofficial PHP SDK for the Hetzner Cloud API.

021PHP

Since Jul 13Pushed 10mo agoCompare

[ Source](https://github.com/eugenecooper/hetzner-cloud-php-sdk)[ Packagist](https://packagist.org/packages/eugenecooper/hetzner-cloud-php-sdk)[ RSS](/packages/eugenecooper-hetzner-cloud-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/a1b6b67c65d425f295e51655bb9de21368e3a6e5c9de2dc0a28aef97bfedebe6/68747470733a2f2f706f7365722e707567782e6f72672f6c6b646576656c6f706d656e742f6865747a6e65722d636c6f75642d7068702d73646b2f76657273696f6e)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)[![License](https://camo.githubusercontent.com/9396d05acf39f6737ff31ce23bfb51be1f844616e3daeaea301119f132f98e11/68747470733a2f2f706f7365722e707567782e6f72672f6c6b646576656c6f706d656e742f6865747a6e65722d636c6f75642d7068702d73646b2f6c6963656e7365)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)[![Total Downloads](https://camo.githubusercontent.com/58734645037cfb99b35f8112deb901ecea897428522cc40b1fdb2e68ab88e1a2/68747470733a2f2f706f7365722e707567782e6f72672f6c6b646576656c6f706d656e742f6865747a6e65722d636c6f75642d7068702d73646b2f646f776e6c6f616473)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)[![Actions Status](https://github.com/lkdevelopment/hetzner-cloud-php-sdk/workflows/CI/badge.svg)](https://github.com/lkdevelopment/hetzner-cloud-php-sdk/actions)

Hetzner Cloud PHP SDK
=====================

[](#hetzner-cloud-php-sdk)

A PHP SDK for the Hetzner Cloud API:

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lkdevelopment/hetzner-cloud-php-sdk
```

Usage
-----

[](#usage)

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

### PHP Support

[](#php-support)

We test on all supported PHP Versions. The library can still work on older versions, however it is no longer actively tested.

### Old Releases: v1.x

[](#old-releases-v1x)

[Version 1.x](https://github.com/LKDevelopment/hetzner-cloud-php-sdk/tree/v1) is abandoned and will not receive any new updates or features. V2 was created with Backward Compatibility in mind. So it should work as a drop-in replacement. Therefor it does not give a "Migration to v2"-Guide. It should just work!

### Testing

[](#testing)

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

### Changelog

[](#changelog)

Please see [CHANGELOG](https://github.com/LKDevelopment/hetzner-cloud-php-sdk/releases) for more information what has changed recently.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lukas Kämmerling](https://github.com/lkaemmerling)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance40

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/75191f939aee64e753855a3601c2180ba3d8242fe06139929e1a431c67fd2cda?d=identicon)[eugenecooper](/maintainers/eugenecooper)

---

Top Contributors

[![LKaemmerling](https://avatars.githubusercontent.com/u/4281581?v=4)](https://github.com/LKaemmerling "LKaemmerling (173 commits)")[![cosmohdx](https://avatars.githubusercontent.com/u/1498099?v=4)](https://github.com/cosmohdx "cosmohdx (12 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (12 commits)")[![BenjaminLeibinger](https://avatars.githubusercontent.com/u/15154967?v=4)](https://github.com/BenjaminLeibinger "BenjaminLeibinger (6 commits)")[![ayacoo](https://avatars.githubusercontent.com/u/5963331?v=4)](https://github.com/ayacoo "ayacoo (4 commits)")[![ThomasLandauer](https://avatars.githubusercontent.com/u/1054469?v=4)](https://github.com/ThomasLandauer "ThomasLandauer (4 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (3 commits)")[![jmjmjm](https://avatars.githubusercontent.com/u/7957056?v=4)](https://github.com/jmjmjm "jmjmjm (2 commits)")[![osthafen](https://avatars.githubusercontent.com/u/525826?v=4)](https://github.com/osthafen "osthafen (2 commits)")[![eugenecooper](https://avatars.githubusercontent.com/u/8261869?v=4)](https://github.com/eugenecooper "eugenecooper (2 commits)")[![paulus7](https://avatars.githubusercontent.com/u/44240324?v=4)](https://github.com/paulus7 "paulus7 (1 commits)")[![rojtjo](https://avatars.githubusercontent.com/u/1123887?v=4)](https://github.com/rojtjo "rojtjo (1 commits)")[![stefangeorgescu](https://avatars.githubusercontent.com/u/23094213?v=4)](https://github.com/stefangeorgescu "stefangeorgescu (1 commits)")[![swznd](https://avatars.githubusercontent.com/u/766961?v=4)](https://github.com/swznd "swznd (1 commits)")[![tanji](https://avatars.githubusercontent.com/u/971260?v=4)](https://github.com/tanji "tanji (1 commits)")[![teyeheimans](https://avatars.githubusercontent.com/u/21109255?v=4)](https://github.com/teyeheimans "teyeheimans (1 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (1 commits)")[![vvolv](https://avatars.githubusercontent.com/u/2045557?v=4)](https://github.com/vvolv "vvolv (1 commits)")[![DanielWiedemann248](https://avatars.githubusercontent.com/u/73703781?v=4)](https://github.com/DanielWiedemann248 "DanielWiedemann248 (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/eugenecooper-hetzner-cloud-php-sdk/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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