mrzen / tigerbay
Tigerbay PHP Client Library
v1.6.0
2024-08-09 08:53 UTC
Requires
- php: >=7.2
- ext-curl: *
- ext-json: *
- doctrine/annotations: ^1.13
- guzzlehttp/guzzle: ^7
- phpdocumentor/reflection-docblock: ^5.2
- symfony/deprecation-contracts: ^2
- symfony/property-access: ^5.3
- symfony/property-info: ^5
- symfony/serializer: ^5.3
- symfony/string: ^5
Requires (Dev)
- phpunit/phpunit: ^9
README
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';