centralnic-reseller / php-sdk
API connector library for the insanely fast Team Internet Backend APIs (CentralNic Reseller, Internet.bs, Moniker)
Installs: 23 148
Dependents: 1
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 1
Open Issues: 0
pkg:composer/centralnic-reseller/php-sdk
Requires
- php: >=7.3.0
 - centralnic-reseller/idn-converter: ^1.0
 
Requires (Dev)
- phpstan/extension-installer: ^1.4
 - phpstan/phpstan: ^2.0
 - phpunit/phpunit: ^10.5
 - smeghead/php-class-diagram: ^1.5
 - squizlabs/php_codesniffer: ^4.0
 
- dev-master
 - v12.0.1
 - v12.0.0
 - v11.0.10
 - v11.0.9
 - v11.0.8
 - v11.0.7
 - v11.0.6
 - v11.0.5
 - v11.0.4
 - v11.0.3
 - v11.0.2
 - v11.0.1
 - v11.0.0
 - v10.0.0
 - v9.1.0
 - v9.0.1
 - v9.0.0
 - v8.0.17
 - v8.0.16
 - v8.0.15
 - v8.0.14
 - v8.0.13
 - v8.0.12
 - v8.0.11
 - v8.0.10
 - v8.0.9
 - v8.0.8
 - v8.0.7
 - v8.0.6
 - v8.0.5
 - v8.0.4
 - v8.0.3
 - v8.0.2
 - v8.0.1
 - v8.0.0
 - v7.1.11
 - v7.1.10
 - v7.1.9
 - v7.1.8
 - v7.1.7
 - v7.1.6
 - v7.1.5
 - v7.1.4
 - v7.1.3
 - v7.1.2
 - v7.1.1
 - v7.1.0
 - v7.0.8
 - v7.0.7
 - v7.0.6
 - v7.0.5
 - v7.0.4
 - v7.0.3
 - v7.0.2
 - v7.0.1
 - v7.0.0
 - dev-dependabot/npm_and_yarn/semantic-release-replace-plugin-8ff9c58
 - dev-RSRMID-2622-update-dependencies-and-node-version-in-all-repos
 - dev-dependabot/npm_and_yarn/semantic-release-25.0.1
 - dev-RSRMID-1479
 - dev-RSRMID-1454-dev-improvements
 
This package is auto-updated.
Last update: 2025-10-31 11:14:50 UTC
README
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
- Documentation Links (PHP-SDK internal registrar id available in round brackets):
 - Release Notes
 
Usage
composer require centralnic-reseller/php-sdk
Find a demo app for the Brand of choice in the tests folder that should help you with getting started.
e.g. tests/CNR/app.php etc.
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
Running the Demo Application
To run the demo application, follow these steps:
- 
Set Your Credentials: You need to ensure your credentials are available. You can do this in two ways:
- Directly replace the credentials within the application file.
 - Alternatively, set the environment variables required for the CNR test app:
# CentralNic Reseller export RTLDEV_MW_CI_USER_CNR=<your-username> export RTLDEV_MW_CI_USERPASSWORD_CNR=<your-password> # internet.bs export RTLDEV_MW_CI_USER_IBS=<your-username> export RTLDEV_MW_CI_USERPASSWORD_IBS=<your-password> # moniker export RTLDEV_MW_CI_USER_MONIKER=<your-username> export RTLDEV_MW_CI_USERPASSWORD_MONIKER=<your-password>
 
 - 
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
 - 
Update Demo Contents: If you need to modify the demo contents, the relevant files are located at:
# CentralNic Reseller tests/CNR/app.php # internet.bs tests/IBS/app.php # Moniker tests/MONIKER/app.php 
Authors
- Kai Schwarz - development - KaiSchwarz-cnic
 
License
This project is licensed under the MIT License - see the LICENSE file for details.