domatskiy / skyparkcdn
skyparkcdn
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/domatskiy/skyparkcdn
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: ^5.4.0
- piwik/ini: ^1.0
README
install
$ composer require domatskiy/skyparkcdn
use
try{
$CAuth = $this->cdn->signin($email, $password);
#echo 'token = '.$CAuth->token."\n\n";
$balance = $this->cdn
->client()
->getBalance();
print_r($balance);
$this->cdn
->cache()
->purgeAll($this->config['resource']['res_1']);
$this->cdn->signout();
}
catch (\Exception $e)
{
echo $e->getMessage();
}