inwx/domrobot
Composer 安装命令:
composer require inwx/domrobot
包简介
PHP Client to easily use the Domrobot API of INWX
README 文档
README
INWX Domrobot PHP Client
You can access all functions of our frontend via our API, which is available via the XML-RPC or JSON-RPC protocol and thus can be easily consumed with all programming languages.
There is also an OT&E test system, which you can access via ote.inwx.com. Here you will find the known web interface which is using a test database. On the OT&E system no actions will be charged. So you can test as much as you like there.
Documentation
You can view a detailed description of the API functions in our documentation. You can find the online documentation by clicking here.
If you still experience any kind of problems don't hesitate to contact our support via email.
Installation
the recommended way is via composer:
composer require inwx/domrobot
now you can use the client by importing the Domrobot class:
use INWX\Domrobot;
Example
<?php error_reporting(E_ALL); require 'vendor/autoload.php'; $username = 'your_username'; $password = 'your_password'; $domrobot = new \INWX\Domrobot(); $result = $domrobot->setLanguage('en') ->useOte() ->useJson() ->setDebug(true) ->login($username, $password); if ($result['code'] == 1000) { $object = 'domain'; $method = 'check'; $params = ['domain' => 'mydomain.com']; $result = $domrobot->call($object, $method, $params); } print_r($result); $domrobot->logout();
You can also have a look at the example.php file in the project for even more info.
License
MIT
inwx/domrobot 适用场景与选型建议
inwx/domrobot 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36.75k 次下载、GitHub Stars 达 45, 最近一次更新时间为 2015 年 01 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 inwx/domrobot 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 inwx/domrobot 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 36.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 45
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-07