PHPackages                             qcloudns/client - 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. [API Development](/categories/api)
4. /
5. qcloudns/client

ActiveLibrary[API Development](/categories/api)

qcloudns/client
===============

A simple PHP client for ClouDNS API

v1(1y ago)15MITPHPPHP &gt;=8.0

Since Feb 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sussdorf/qcloudns)[ Packagist](https://packagist.org/packages/qcloudns/client)[ RSS](/packages/qcloudns-client/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

QCloudns API Client
===================

[](#qcloudns-api-client)

This repository contains a PHP client library for interacting with the Cloudns API. It allows you to manage DNS zones and records programmatically.

Features
--------

[](#features)

- Create, delete, list, and update DNS zones
- Create, delete,list, and update DNS records (add delete and update are finished)
- Get statistics of DNS zones (Soon)
- Get account Informations (Soon)

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Composer

Installation
------------

[](#installation)

Install the library using Composer:

```
composer require qcloudns/client
```

Usage
-----

[](#usage)

```
require 'vendor/autoload.php';

use Qcloudns\Client;
use Qcloudns\ZoneManager;
use Qcloudns\RecordManager;
$authId = 'your-auth-id';
$authPassword = 'your-auth-password';
$client = new Client($authId, $authPassword);
$zoneManager = new ZoneManager($client);
$recordManager = new RecordManager($client);
```

ZoneManager
===========

[](#zonemanager)

### Add DNS Zone

[](#add-dns-zone)

```
$response = $zoneManager->createZone('example.com');
print_r($response);
```

### Update DNS Zone

[](#update-dns-zone)

```
$response = $zoneManager->updateZone('example.com');
print_r($response);
```

### List DNS Zones

[](#list-dns-zones)

```
$response = $zoneManager->listZones();
print_r($response);
```

### Delete DNS Zones

[](#delete-dns-zones)

```
$response = $zoneManager->dwleteZones('example.com');
print_r($response);
```

RecordManager
=============

[](#recordmanager)

### Add Record

[](#add-record)

```
$data = [
    'record-type' => 'A',
    'host' => 'www',
    'record' => '192.0.2.1',
    'ttl' => 3600,
    'priority' => 10
];
$response = $recordManager->createRecord('example.com', $data);
print_r($response);
```

### Modify Record

[](#modify-record)

```
$data = [
    'record-id' => 1234,
    'host' => 'www',
    'record' => '192.0.2.1',
    'ttl' => 3600,
    'priority' => 10
];
$response = $recordManager->updateRecord('example.com', $data);
print_r($response);
```

### Get Record(Single)

[](#get-recordsingle)

```
$response = $recordManager->getRecord(string $domain, string $recordid);
print_r($response);
```

### Get All Records from given Zone

[](#get-all-records-from-given-zone)

```
$response = $recordManager->listRecords(string $domain);
print_r($response);
```

### Delete Record

[](#delete-record)

```
$response = $recordManager->deleteRecord(string $domain, string $recordid);
print_r($response);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance42

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

500d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/95082790?v=4)[sussdorf](/maintainers/sussdorf)[@sussdorf](https://github.com/sussdorf)

---

Top Contributors

[![sussdorf](https://avatars.githubusercontent.com/u/95082790?v=4)](https://github.com/sussdorf "sussdorf (24 commits)")

### Embed Badge

![Health badge](/badges/qcloudns-client/health.svg)

```
[![Health](https://phpackages.com/badges/qcloudns-client/health.svg)](https://phpackages.com/packages/qcloudns-client)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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