PHP code example of jimaek / netdnarws-php

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

    

jimaek / netdnarws-php example snippets






$api = new MaxCDN("my_alias","consumer_key","consumer_secret");

// get account information
echo  $api->get('/account.json');

// delete a file from the cache
$params = array('file' => '/robots.txt');
echo $api->delete('/zones/pull.json/6055/cache', $params);

json
{
    "axCDN/rws-sdk-php": "2.*"
    }
}
bash
curl -sS https://getcomposer.org/installer | php
bash
php composer.phar install -o