PHPackages                             liamthegrey/brewerydb-php - 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. liamthegrey/brewerydb-php

ActiveLibrary

liamthegrey/brewerydb-php
=========================

PHP wrapper for BreweryDB. Forked from official repo.

0443PHP

Since May 22Pushed 10y ago1 watchersCompare

[ Source](https://github.com/liamthegrey/brewerydb-php)[ Packagist](https://packagist.org/packages/liamthegrey/brewerydb-php)[ RSS](/packages/liamthegrey-brewerydb-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
This service is a simple PHP wrapper for the Brewerydb.com API.

Usage:

$bdb = new Pintlabs_Service_Brewerydb($apikey);
$bdb->setFormat('php'); // if you want to get php back.  'xml' and 'json' are also valid options.

Then you can call the API:

try {
    // The first argument to request() is the endpoint you want to call
    // 'brewery/BrvKTz', 'beers', etc.
    // The third parameter is the HTTP method to use (GET, PUT, POST, or DELETE)
    $results = $bdb->request('beers', $params, 'GET'); // where $params is a keyed array of parameters to send with the API call.
} catch (Exception $e) {
    $results = array('error' => $e->getMessage());
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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/3ca55db7ad71b7b56516db336b3d4e12a63d942b8c4323d75ea33d5ed06beece?d=identicon)[liamthegrey](/maintainers/liamthegrey)

---

Top Contributors

[![farrelley](https://avatars.githubusercontent.com/u/226027?v=4)](https://github.com/farrelley "farrelley (6 commits)")[![gplocke](https://avatars.githubusercontent.com/u/66071?v=4)](https://github.com/gplocke "gplocke (5 commits)")

### Embed Badge

![Health badge](/badges/liamthegrey-brewerydb-php/health.svg)

```
[![Health](https://phpackages.com/badges/liamthegrey-brewerydb-php/health.svg)](https://phpackages.com/packages/liamthegrey-brewerydb-php)
```

PHPackages © 2026

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