2017 © Pedro Peláez
 

library cloudflare-purgefile

Small library for purge files on Cloudflare using the API version 4

image

alejodaraio/cloudflare-purgefile

Small library for purge files on Cloudflare using the API version 4

  • Monday, January 2, 2017
  • by alejodaraio
  • Repository
  • 1 Watchers
  • 2 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Cloudflare Purge Files

Small library for purge files on Cloudflare using the API version 4, (*1)

Coverage Status Latest Stable Version Total Downloads Daily Downloads Dependency Status, (*2)

Install

Installation should be done via composer, details of how to install composer can be found at https://getcomposer.org/, (*3)

composer require alejodaraio/cloudflare-purgefile, (*4)

Usage

use CloudFlare;

try {
  $cf = new CloudFlare('email@email.com', 'theKey', 'theZoneId');

  $urls = array('http://mysite.com/example');
  $tags = array();
  $cf->purge_files($urls, $tags);
}
catch(CloudFlareException $e) {
  print $e->getMessage();
}

License, (*5)

MIT, (*6)

The Versions

02/01 2017

dev-master

9999999-dev https://alejodaraio.github.io/cloudflare-php

Small library for purge files on Cloudflare using the API version 4

  Sources   Download

MIT

The Development Requires

by alejo

cache tags cloudflare purge expire

02/01 2017

1.0.0

1.0.0.0 https://alejodaraio.github.io/cloudflare-php

Small library for purge files on Cloudflare using the API version 4

  Sources   Download

MIT

The Development Requires

by alejo

cache tags cloudflare purge expire