akamai / purger
There is no license information available for the latest version (v0.1) of this package.
Akamai CDN Purger
v0.1
2013-05-28 18:15 UTC
Requires
- monolog/monolog: dev-master
This package is not auto-updated.
Last update: 2025-05-05 16:58:11 UTC
README
Remove or invalidate assets on your Akamai CDN.
Usage
Create the instance
$purger = new Akamai\Cdn\Purger(
{username is a string REQUIRED},
{password is a string REQUIRED},
{server is a string OPTIONAL},
{logger instance of Monolog Logger OPTIONAL}
);
see Monolog documentation here
Set notifications
$purger->setNotificationEmail({email address});
Add the url to purge
$purger->addUrl('http://www.example.com/acme/asset.png');
And purge!
$purger->purge();
Requirements
- PHP 5.3+
- Internet connection
Authors
My Wardrobe - sys.admin@my-wardrobe.com