PHPackages                             centralnic-reseller/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. [API Development](/categories/api)
4. /
5. centralnic-reseller/php-sdk

ActiveLibrary[API Development](/categories/api)

centralnic-reseller/php-sdk
===========================

API connector library for the insanely fast Team Internet Backend APIs (CentralNic Reseller, Internet.bs, Moniker)

v16.0.3(1w ago)541.0k↓20.3%11MITPHPPHP &gt;=8.3.0CI passing

Since Dec 9Pushed 1w ago3 watchersCompare

[ Source](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk)[ Packagist](https://packagist.org/packages/centralnic-reseller/php-sdk)[ Docs](https://centralnicgroup-opensource.github.io/rtldev-middleware-php-sdk/)[ RSS](/packages/centralnic-reseller-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (50)Versions (105)Used By (1)

php-sdk
=======

[](#php-sdk)

[![semantic-release](https://camo.githubusercontent.com/5f3b57745af83409bc673dec57e3eb360e1ec53b37ac29f81a319e347fa351c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2532302532302546302539462539332541362546302539462539412538302d73656d616e7469632d2d72656c656173652d6531303037392e737667)](https://github.com/semantic-release/semantic-release)[![Build Status](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/workflows/Release/badge.svg?branch=master)](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/workflows/Release/badge.svg?branch=master)[![Packagist](https://camo.githubusercontent.com/474ab1dd423746e8c911400a06bc7bc47f16f66449e099c712b590815acbac4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63656e7472616c6e69632d726573656c6c65722f7068702d73646b2e737667)](https://packagist.org/packages/centralnic-reseller/php-sdk)[![PHP from Packagist](https://camo.githubusercontent.com/df757a24f1f28f1379d4768fd02447d07b79a4b6b2b1a7dcb7d70b649b4f8599/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f63656e7472616c6e69632d726573656c6c65722f7068702d73646b2e737667)](https://packagist.org/packages/centralnic-reseller/php-sdk)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)[![PRs welcome](https://camo.githubusercontent.com/dd0b24c1e6776719edb2c273548a510d6490d8d25269a043dfabbd38419905da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e737667)](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/blob/master/CONTRIBUTING.md)[![codecov](https://camo.githubusercontent.com/2093351e2829a7b95fda45fd6d0f99ef0ae730668bcebf05c14b6d5c81935846/68747470733a2f2f636f6465636f762e696f2f67682f63656e7472616c6e696367726f75702d6f70656e736f757263652f72746c6465762d6d6964646c65776172652d7068702d73646b2f67726170682f62616467652e737667)](https://codecov.io/gh/centralnicgroup-opensource/rtldev-middleware-php-sdk)

This module is a connector library for the insanely fast CNIC Backend APIs (CentralNic Reseller, internet.bs, moniker). Do not hesitate to contact us in case of questions.

Resources
---------

[](#resources)

- Documentation Links (PHP-SDK internal registrar id available in round brackets):
    - [CentralNic Reseller (CNR)](https://support.centralnicreseller.com/hc/en-gb/articles/13513253776285-Self-Development-Kit-for-PHP)
    - [Internet.bs (IBS)](https://faq.internetbs.net/hc/en-gb/articles/24953916500381-Self-Development-Kit-for-PHP)
    - [Moniker (MONIKER)](https://support.moniker.com/hc/en-gb/articles/24954146333981-Self-Development-Kit-for-PHP)
- [Release Notes](https://github.com/centralnicgroup-opensource/rtldev-middleware-php-sdk/releases)

Usage
-----

[](#usage)

`composer require centralnic-reseller/php-sdk`

Find a demo app for the Brand of choice in the examples folder that should help you with getting started.

e.g. `examples/app_CNR.php` etc.

Dev Container
-------------

[](#dev-container)

If you want to contribute, we recommend using Visual Studio Code and to follow the below setup instructions:

- Add an entry in your hosts file: `127.0.0.1         devsdk.centralnicreseller.net`

PHP SDK Data can be accessed via apache server at this url: `http://devsdk.centralnicreseller.net`

### Environment variables (`env.sh`)

[](#environment-variables-envsh)

The devcontainer looks for an `env.sh` file in the workspace root and **automatically sources it** in two places:

1. **Every new integrated-terminal session** — the file is sourced via `~/.zshenv` so credentials are available as soon as you open a terminal, without a manual `source env.sh`.
2. **PHPUnit runs triggered from the VSCode UI** — the PHPUnit wrapper script sources `env.sh` before invoking PHP, so IDE-triggered tests see the same variables as `composer test` does from the terminal.

`env.sh` is listed in `.gitignore` and will never be committed. Create it once in the workspace root with the variables you need — copy [`env.example.sh`](env.example.sh) as a starting point.

Note

The auto-loading takes effect for **new** terminal sessions. If your terminal was already open when you created or updated `env.sh`, run `source env.sh` once in that session or open a new terminal.

Running the Demo Application
----------------------------

[](#running-the-demo-application)

To run the demo application, follow these steps:

1. **Set Your Credentials**: You need to ensure your credentials are available. The recommended approach inside the devcontainer is to create an `env.sh` file in the workspace root — see [Environment variables (`env.sh`)](#environment-variables-envsh) for details. Alternatively, you can directly replace the credential placeholders inside the demo application file.
2. **Execute the Demo**: Once the credentials are configured, run the appropriate demo command:

    Run the below npm scripts (or execute the related commands covered in package.json):

    ```
    # CentralNic Reseller
    npm run test-demo-cnr
    # internet.bs
    npm run test-demo-ibs
    # Moniker
    npm run test-demo-moniker
    ```
3. **Update Demo Contents**: If you need to modify the demo contents, the relevant files are located at:

    ```
    # CentralNic Reseller
    examples/app_CNR.php
    # internet.bs
    examples/app_IBS.php
    # Moniker
    examples/app_MONIKER.php

    ```

CI / Testing
------------

[](#ci--testing)

CI is powered by [reusable GitHub Actions workflows](https://github.com/centralnicgroup-opensource/rtldev-middleware-shareable-workflows). The test matrix covers:

PHP VersionStatus8.3✓8.4✓8.5✓The matrix is configured via the repository variable `RTLDEV_MW_CI_PHP_MATRIX`.

Maintainers
-----------

[](#maintainers)

- **Kai Schwarz** - [KaiSchwarz-cnic](https://github.com/kaischwarz-cnic)
- **Asif Nawaz** - [KaiSchwarz-cnic](https://github.com/AsifNawaz-cnic)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance98

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 56.1% 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

Every ~20 days

Recently: every ~1 days

Total

81

Last Release

9d ago

Major Versions

v11.0.10 → v12.0.02025-09-26

v12.0.1 → v13.0.02025-11-13

v13.1.6 → v14.0.02026-05-22

v14.1.2 → v15.0.02026-06-08

v15.5.0 → v16.0.02026-06-23

PHP version history (4 changes)v7.0.0PHP &gt;=7.4.0

v7.1.8PHP &gt;=7.3.0

v7.1.9PHP ^7.3.0

v14.0.0PHP &gt;=8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/49be2d560d7510481b53ee05f688295c79bf052b76da7a8c48c3a96c26999559?d=identicon)[centralnic-reseller](/maintainers/centralnic-reseller)

---

Top Contributors

[![KaiSchwarz-cnic](https://avatars.githubusercontent.com/u/229425?v=4)](https://github.com/KaiSchwarz-cnic "KaiSchwarz-cnic (286 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (77 commits)")[![AsifNawaz-cnic](https://avatars.githubusercontent.com/u/107853964?v=4)](https://github.com/AsifNawaz-cnic "AsifNawaz-cnic (75 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (70 commits)")[![h9k](https://avatars.githubusercontent.com/u/1579124?v=4)](https://github.com/h9k "h9k (2 commits)")

---

Tags

apisdkdnssslconnectorapplicationregistrationdomainispresellercertpremiumbackorderpreregistrationcniccentralniccnrinternet.bsmoniker

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm, Rector

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/centralnic-reseller-php-sdk/health.svg)

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

###  Alternatives

[corbanb/freebird-php

Twitter API v1.1 Application only authoization library

158.6k](/packages/corbanb-freebird-php)

PHPackages © 2026

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