2017 © Pedro Peláez
 

library buster-client

Buster client library for php.

image

melonsmasher/buster-client

Buster client library for php.

  • Thursday, March 8, 2018
  • by MelonSmasher
  • Repository
  • 1 Watchers
  • 1 Stars
  • 27 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Buster Client - PHP

License GitHub issues, (*1)

Install

Install with composer., (*2)

composer require melonsmasher/buster-client ~1.0

Usage

Example:

<?php

use Buster\Client;

class SomeClass
{
    function someFunction () {

        // API environment variables
        $apiKey = '123456789';
        $apiHost = 'buster.example.com';
        $apiPort = 443;
        $useHttps = true;

        $pathToPuge = '/about/';
        $schemeId = 1;
        $clientUserName = 'WordPressAdmin';

        // Create the client
        $buster = new Client($apiKey, $apiHost, $apiPort, $useHttps);
        // Purge a page from the cache(s) using the scheme ID
        $buster->bust($pathToPuge, $schemeId, $clientUserName);
        // Purge all pages from the cache(s) using the scheme ID
        $buster->bustAll($schemeId, $clientUserName);
        // Retrieve the purge history of scheme 1
        $page = 1;
        $buster->history($schemeId, $page);
    }
}

Some cool projects that this software relies on., (*3)

The Versions

08/03 2018

dev-master

9999999-dev

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

08/03 2018

v1.0.6

1.0.6.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.5

1.0.5.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.4

1.0.4.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.3

1.0.3.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.2

1.0.2.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.1

1.0.1.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster

07/02 2018

v1.0.0

1.0.0.0

Buster client library for php.

  Sources   Download

MIT

The Requires

 

by Alex Markessinis

cache client proxy fastcgi nginx buster