PHP code example of michaelesmith / dyndns-processor-digitalocean

1. Go to this page and download the library: Download michaelesmith/dyndns-processor-digitalocean 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/ */

    

michaelesmith / dyndns-processor-digitalocean example snippets


$doProcessor = new DigitalOceanApiProcessor(
    ['example.com'], 
    new \DigitalOceanV2\DigitalOceanV2(
        new \DigitalOceanV2\Adapter\GuzzleHttpAdapter('my_api_token)
    )
);