PHP code example of rido / mijndomeinreseller

1. Go to this page and download the library: Download rido/mijndomeinreseller 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/ */

    

rido / mijndomeinreseller example snippets




name = '';
$password = '';

$connection = new \Rido\MDR\Connection();
$connection->setUsername($username);
$connection->setPassword($password);

$mdr = new \Rido\MDR\MijnDomeinReseller($connection);

$domain = $mdr->domain();

$domains = $domain->get();

// Array with all the registered domains
var_dump($domains);