{"id":26131322,"url":"https://github.com/lkdevelopment/hetzner-cloud-php-sdk","last_synced_at":"2026-01-11T16:06:30.873Z","repository":{"id":44463233,"uuid":"119290405","full_name":"LKDevelopment/hetzner-cloud-php-sdk","owner":"LKDevelopment","description":"A PHP SDK for the Hetzner Cloud API","archived":false,"fork":false,"pushed_at":"2024-09-20T19:11:02.000Z","size":5959,"stargazers_count":107,"open_issues_count":19,"forks_count":52,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-09-21T10:09:07.396Z","etag":null,"topics":["cloud","hacktoberfest","hcloud","php-sdk"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LKDevelopment.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-28T19:27:48.000Z","updated_at":"2024-09-20T19:09:30.000Z","dependencies_parsed_at":"2023-12-13T07:24:42.400Z","dependency_job_id":"bf480647-b4f2-4447-9820-50b85a456a96","html_url":"https://github.com/LKDevelopment/hetzner-cloud-php-sdk","commit_stats":{"total_commits":184,"total_committers":25,"mean_commits":7.36,"dds":0.5380434782608696,"last_synced_commit":"0df11dbc8a7b0f33de0f69a90820dcd75c9dc391"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LKDevelopment%2Fhetzner-cloud-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LKDevelopment%2Fhetzner-cloud-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LKDevelopment%2Fhetzner-cloud-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LKDevelopment%2Fhetzner-cloud-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LKDevelopment","download_url":"https://codeload.github.com/LKDevelopment/hetzner-cloud-php-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242933899,"owners_count":20208912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","hacktoberfest","hcloud","php-sdk"],"created_at":"2025-03-10T22:00:27.533Z","updated_at":"2026-01-11T16:06:30.815Z","avatar_url":"https://github.com/LKDevelopment.png","language":"PHP","readme":"[![Latest Stable Version](https://poser.pugx.org/lkdevelopment/hetzner-cloud-php-sdk/version)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)\n[![License](https://poser.pugx.org/lkdevelopment/hetzner-cloud-php-sdk/license)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)\n[![Total Downloads](https://poser.pugx.org/lkdevelopment/hetzner-cloud-php-sdk/downloads)](https://packagist.org/packages/lkdevelopment/hetzner-cloud-php-sdk)\n[![Actions Status](https://github.com/lkdevelopment/hetzner-cloud-php-sdk/workflows/CI/badge.svg)](https://github.com/lkdevelopment/hetzner-cloud-php-sdk/actions)\n# Hetzner Cloud PHP SDK\nA PHP SDK for the Hetzner Cloud API: https://docs.hetzner.cloud/\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require lkdevelopment/hetzner-cloud-php-sdk\n```\n\n## Usage\n\n``` php\n$hetznerClient = new \\LKDev\\HetznerCloud\\HetznerAPIClient($apiKey);\nforeach ($hetznerClient-\u003eservers()-\u003eall() as $server) {\n    echo 'ID: '.$server-\u003eid.' Name:'.$server-\u003ename.' Status: '.$server-\u003estatus.PHP_EOL;\n}\n```\n### PHP Support\n\nWe test on all supported PHP Versions. The library can still work on older versions, however it is no longer actively tested.\n\n### Old Releases: v1.x\n[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!\n\n### Testing\n\nYou can just run `phpunit`. The whole library is based on unit tests and sample responses from the official Hetzner Cloud documentation.\n\n### Changelog\n\nPlease see [CHANGELOG](https://github.com/LKDevelopment/hetzner-cloud-php-sdk/releases) for more information what has changed recently.\n\n\n### Security\n\nIf you discover any security related issues, please email kontakt@lukas-kaemmerling.de instead of using the issue tracker.\n\n## Credits\n\n- [Lukas Kämmerling](https://github.com/lkaemmerling)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":["Libraries"],"sub_categories":["PHP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkdevelopment%2Fhetzner-cloud-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flkdevelopment%2Fhetzner-cloud-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flkdevelopment%2Fhetzner-cloud-php-sdk/lists"}