PHPackages                             dns-com/php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. dns-com/php-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

dns-com/php-sdk
===============

DNS SDK for PHP

v1.0.0(8y ago)123MITPHPPHP &gt;=5.3.3

Since Oct 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Dns-com/php-sdk)[ Packagist](https://packagist.org/packages/dns-com/php-sdk)[ RSS](/packages/dns-com-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

DNS SDK for PHP
===============

[](#dns-sdk-for-php)

[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![@dns on weibo](https://camo.githubusercontent.com/1023a326f8d3fce9daca2f3346eec81e2340a73e9c32505b31e205ef75d9a1d9/687474703a2f2f696d672e736869656c64732e696f2f62616467652f776569626f2d2534303531646e73636f6d2d626c75652e737667)](http://weibo.com/51dnscom)

安装
--

[](#安装)

- composer安装 [composer](https://getcomposer.org/) [packagist](https://packagist.org/packages/dns-com/php-sdk)

```
$ composer require dns-com/php-sdk
```

- 或直接下载，调用autoloader。

使用方法
----

[](#使用方法)

### 填好appkey appsecret

[](#填好appkey-appsecret)

```
bash env.sh

```

### 上传

[](#上传)

```
use DNS\Auth;
use DNS\Module\Domain;

    $auth = new Auth($accessKey, $secretKey);
    $d = new Domain($auth);
    list($ret, $error)  = $d->addDomain(['domain'=> 'dns.com']
```

联系我们
----

[](#联系我们)

- 如果需要帮助，请提交工单（或者直接向  发送邮件，转程序猿）
- 如果发现了bug， 欢迎提交 [issue](https://github.com/dns-com/php-sdk/issues)
- 如果有功能需求，欢迎提交 [issue](https://github.com/dns-com/php-sdk/issues)
- 如果要提交代码，欢迎提交 pull request

代码许可
----

[](#代码许可)

The MIT License (MIT).详情见 [License文件](https://github.com/dns-com/php-sdk/blob/master/LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef395e5e8f8a60a8245dad2bfc4e3d87cb2f91b08a4e217d6b6a5673faa71248?d=identicon)[ctwyw](/maintainers/ctwyw)

---

Top Contributors

[![ctwyw](https://avatars.githubusercontent.com/u/1274504?v=4)](https://github.com/ctwyw "ctwyw (6 commits)")

---

Tags

sdkdnsdnscom

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dns-com-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/dns-com-php-sdk/health.svg)](https://phpackages.com/packages/dns-com-php-sdk)
```

###  Alternatives

[xendit/xendit-php

Xendit PHP SDK

189730.6k6](/packages/xendit-xendit-php)[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
