ben221199 / oxxa-api
Use the Oxxa API in PHP.
v1.2.3
2022-12-03 15:32 UTC
Requires
- php: ^7||^8
- ext-curl: *
- ext-simplexml: *
Requires (Dev)
- phpunit/phpunit: ^7||^8||^9
README
Use the Oxxa API in PHP.
Status
Installation
composer require ben221199/oxxa-api
Use
$username = 'myUsername'; // Your API username $password = 'myPassword'; // Your API password $useMD5 = true; // When true, password is send in its MD5 form. $isTesting = false; // When true, payment wil not occur $oxxaApi = new \Ben221199\Oxxa\API\OxxaAPI('https://api.oxxa.com',$username,$password,$useMD5,$isTesting); $xml = $oxxaApi->DOMAIN_CHECK([ 'sld' => 'myDomain', 'tld' => 'com', ]);