fireitsoft / maxcdn
Provides REST API for MaxCDN.
V1.1
2021-01-12 08:07 UTC
README
##composer.json
Installation
composer require fireitsoft/maxcdn
Set your credential in env file.
.env
MAXCDN_ALIAS= MAXCDN_KEY= MAXCDN_SECRET=
Usage:
In your controller ##YourController.php
use FireItSoft\MaxCdn\MaxCdn;
Usage
$cdn = new MaxCdn(); $cdn->delete('/zones/pull.json/{zone-id}/cache', [ 'file' => '/test.jpg' ]);