PHP code example of cyberfusion / oxxa-api-client
1. Go to this page and download the library: Download cyberfusion/oxxa-api-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cyberfusion / oxxa-api-client example snippets
// Initialize the API
$oxxa = new Oxxa($username, $password);
// Perform calls to an endpoint
$available = $oxxa
->domain()
->check('cyberfusion.nl');
$oxxa->enableTestMode();
$oxxa->disableTestMode();
$oxxa->setBaseUri('http://localhost:8080');