Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoAdamek committed Oct 12, 2021
1 parent 38f42ff commit 27cb773
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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';
~~~

0 comments on commit 27cb773

Please sign in to comment.