atsicorp/hetzner-cloud
最新稳定版本:v0.0.2-stable
Composer 安装命令:
composer require atsicorp/hetzner-cloud
包简介
A PHP SDK for the Hetzner Cloud API.
README 文档
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.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-18