PHPackages                             dydro/wbt\_client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. dydro/wbt\_client

ActiveLibrary[API Development](/categories/api)

dydro/wbt\_client
=================

An API client for the Old Chicago World Beer Tour service

06PHP

Since Dec 31Pushed 12y ago2 watchersCompare

[ Source](https://github.com/Dydro/php-wbt_client)[ Packagist](https://packagist.org/packages/dydro/wbt_client)[ RSS](/packages/dydro-wbt-client/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

(PHP) World Beer Tour Client
============================

[](#php-world-beer-tour-client)

Allows interaction with the World Beer Tour Service hosted at ocwbt.com

Installation
------------

[](#installation)

Installation is handled using Composer:

```
"require": {
    "dydro/wbt_client": "dev-master"
}

```

Usage
-----

[](#usage)

Simply provide a Client with with your keys, then ask for the data you want:

```
$client = new Client($apiKey, $secretKey);
$client->getBeer($beerId);                  // get a single beer
$client->getBeers();                        // get a list of beers
$client->getLocation($locationId);          // get a single location
$client->getLocationBeers($locationId);     // get a list of beers at a specific location
$client->getLocations();                    // get a list of locations
$client->getLocationsBeers();               // get a list of beers for all locations
$client->getMiniTour($miniTourId);          // get a single minitour
$client->getMiniTours();                    // get a list of minitours
$client->getUser($userId);                  // get a single user
$client->getUserBeer($userId, $userBeerId); // get a single user beer
$client->getUserBeers($userId);             // get a list of user beers
$client->getUserTours($userId);             // get a list of user tours

```

Responses from list endpoints are wrapped in a `ListResponse` object, which allows you to iterate through pages:

```
$cfg = new ListConfig();
$cfg->setPage(1);
do {
    $response = $client->getBeers($cfg);
    $beers = $response->getItems();

    // work with each beer here

    $cfg->setPage($response->getPage() + 1);
} while ($response->morePages());

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/241466e7109a5a7a534948fbc38a9ce7ba415a66ae8d5306f246c8dcba1de29c?d=identicon)[troymccabe](/maintainers/troymccabe)

---

Top Contributors

[![troymccabe](https://avatars.githubusercontent.com/u/1299743?v=4)](https://github.com/troymccabe "troymccabe (5 commits)")

### Embed Badge

![Health badge](/badges/dydro-wbt-client/health.svg)

```
[![Health](https://phpackages.com/badges/dydro-wbt-client/health.svg)](https://phpackages.com/packages/dydro-wbt-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
