Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 555 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 555 Bytes

Tigerbay PHP

Usage

Initialize The Client

use Mrzen\Tigerbay;

$config = (new Tigerbay\Config())->setBaseURL($baseURL)         // Required
                                 ->setClientId($clientId)       // Required
                                 ->setSecret($clientSecret)     // Required
                                 ->setTimeout(10.0)             // Optional

$client = new Tigerbay\Client($config);

// Get cache stats

$stats = $client->stats();

echo 'System contains ' . $stats->getItemCount() . ' tours';