xlerr/apollo

此包已被弃用且不再维护。未建议替代包。

维护者

详细信息

github.com/xlerr/apollo

此包尚未发布任何版本,信息很少。


README

安装

php composer.phar require kuainiu/apollo

示例

$apollo = new Apollo('https://test.knjk.com/openapi/v1/');

$apollo->token      = 'security key';
$apollo->user       = 'apollo';
$apollo->envs       = 'DEV';
$apollo->apps       = 'tq-deposit';
$apollo->clusters   = 'default';
$apollo->namespaces = 'application';

// 创建
$response = $apollo->create('key', 'value', 'comment');

// 更新
$response = $apollo->update('key', 'value', 'comment');

// 删除
$response = $apollo->update('key');

// 发布
$response = $apollo->releases('title', 'comment');