diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed84c1e --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +Tigerbay PHP +============ + + + +Usage +----- + +### Initialize The Client +~~~php +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'; +~~~