checkdomain/api-client
Composer 安装命令:
composer require checkdomain/api-client
包简介
The checkdomain API client for php
README 文档
README
A php client for the Checkdomain Rest API.
Visit our Checkdomain API Guide to get a extended version of instructions.
Setup
Via Composer
{
"require" : {
"checkdomain/api-client" : "^1.0.0"
}
}
Example
<?php
require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload
/**
* Create a new api-client instance
*
* Replace {yourToken} with your secret token
*
* For further informations please visit
* @see https://developer.checkdomain.de/guide/#1-registration-for-api-access
*/
$client = new \ApiClient\Client(
'v1',
'{yourToken}'
);
/**
* Example: How to create a new nameserver record
*
* Replace {domains} with identifier
*
* For further informations please visit
* @see https://developer.checkdomain.de/reference/v1/domains/%7Bdomain%7D/nameservers/records/
*/
$response = $client->post('domains/{domains}/nameservers/records', [
'name' => '@',
'value' => '172.0.0.1',
'ttl' => 180,
'priority' => 0,
'type' => 'A',
]);
var_dump($response);
More helpful examples stored at the example folder.
In addition take a look at the API Reference
Semantic Versioning 2.0.0
We follow the rules of Semantic Versioning 2.0.0 .
Summary
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards-compatible manner, and PATCH version when you make backwards-compatible bug fixes. Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
For more informations visit Semantic Versioning.
License
Copyright (c) 2017 Checkdomain GmbH, This is Free Software distributed under the MIT license.
checkdomain/api-client 适用场景与选型建议
checkdomain/api-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 01 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「domain」 「api client」 「domains」 「checkdomain」 「registar」 「domain registration」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 checkdomain/api-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 checkdomain/api-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 checkdomain/api-client 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Build a domain-oriented application on Laravel Framework
A PSR-7 compatible library for making CRUD API endpoints
Command bus implementation: Commands and domain events
Mock PSR-18 HTTP client
Asynchronous MQTT client built on React
A module manager for Zend Framework which can be used to create configs per domain.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-01-04