centralnic-reseller / php-sdk
API connector library for the insanely fast CNIC API Backends (HEXONET, CNR former RRPproxy)
Installs: 7 747
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
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: ^3.7
- dev-master
- 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-RSRMID-2317-ibs-switch-date-columns-to-different-format-yyyy-mm-dd-to-yyyy-mm-dd
- dev-RSRMID-2092-doc-sdk-features-and-comparision
- dev-RSRMID-1479
- dev-RSRMID-1454-dev-improvements
This package is auto-updated.
Last update: 2025-03-07 13:08:58 UTC
README
This module is a connector library for the insanely fast CNIC Backend APIs (HEXONET, CentralNic Reseller formerly known as RRPproxy). 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
Dev Container
- Add an entry in your hosts file:
127.0.0.1 devsdk.hexonet.net
PHP SDK Data can be accessed via apache server at this url: http://devsdk.hexonet.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> # HEXONET export RTLDEV_MW_CI_USER_HEXONET=<your-username> export RTLDEV_MW_CI_USERPASSWORD_HEXONET=<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 # HEXONET npm run test-demo-hexonet # 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 # HEXONET tests/HEXONET/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.