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.
- Documentation Links (PHP-SDK internal registrar id available in round brackets):
- Release Notes
composer require centralnic-reseller/php-sdk
- 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
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
- Kai Schwarz - development - KaiSchwarz-cnic
This project is licensed under the MIT License - see the LICENSE file for details.