centralnic-reseller / php-sdk
API connector library for the insanely fast CNIC API Backends (HEXONET, CNR former RRPproxy)
Installs: 6 117
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.3.0
- centralnic-reseller/idn-converter: ^1.0
Requires (Dev)
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
- dev-master
- 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-1479
- dev-RSRMID-1454-dev-improvements
This package is auto-updated.
Last update: 2024-12-20 08:15:18 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:
- 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:
export RTLDEV_MW_CI_USER_CNR=<your-username> export RTLDEV_MW_CI_USERPASSWORD_CNR=<your-password>
-
Execute the Demo: Once the credentials are configured, run the appropriate demo command:
- For CNR:
npm run test-demo-cnr
- For Hexonet:
npm run test-demo-hexonet
- For CNR:
-
Update Demo Contents: If you need to modify the demo contents, the relevant file is located at:
- For CNR:
tests/CNR/app.php
- For Hexonet:
tests/HEXONET/app.php
Authors
- Kai Schwarz - development - KaiSchwarz-cnic
License
This project is licensed under the MIT License - see the LICENSE file for details.