PHPackages                             alexjustesen/php-untappd - 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. alexjustesen/php-untappd

ActiveLibrary[API Development](/categories/api)

alexjustesen/php-untappd
========================

Unofficial PHP SDK for Untappd

v0.1.0(3y ago)0139MITPHPPHP ^8.1

Since Mar 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alexjustesen/php-untappd)[ Packagist](https://packagist.org/packages/alexjustesen/php-untappd)[ Docs](https://github.com/alexjustesen/php-untappd)[ RSS](/packages/alexjustesen-php-untappd/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Untappd SDK (PHP)
=================

[](#untappd-sdk-php)

Unofficial PHP SDK for [Untappd](https://untappd.com/api) API.

Sponsor
-------

[](#sponsor)

Like this package? Consider [sponsoring](https://github.com/sponsors/alexjustesen) me to help me reach my goals.

Install
-------

[](#install)

```
composer require alexjustesen/php-untappd

```

### Usage

[](#usage)

#### Authentication

[](#authentication)

The Untappd API makes use of token based authentication, you can either generate a token using your client ID and secret or using the SSO user's token.

#### Initialize the request

[](#initialize-the-request)

To get started create a new instance of the SDK.

```
$untappd = new Untappd();
```

#### Handling the response

[](#handling-the-response)

The SDK makes use of [Saloon](https://docs.saloon.dev/) by Sam Carre, after a request is sent you can interact with the response with any of the [documented](https://docs.saloon.dev/the-basics/responses) methods like `->body()` or `->json()`.

In the example below we're requesting a single beer and formatting the response as json.

```
$request = new GetBeer('beer-id-goes-here');

$response = $untappd->send($request);

$response->json();
```

#### Get a beer

[](#get-a-beer)

```
$request = new GetBeer('beer-id-goes-here');

$response = $untappd->send($request);
```

#### Search for beer

[](#search-for-beer)

```
$request = new SearchBeer('brewery name or beer name string');

$response = $untappd->send($request);
```

Testing
-------

[](#testing)

### Using PHP CS Fixer

[](#using-php-cs-fixer)

```
composer fix-code

```

### Using Pest

[](#using-pest)

```
composer test

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1149d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2214164c880af0c0f116a6fccbab39e813d9714134b7365441fa411ee519475d?d=identicon)[alexjustesen](/maintainers/alexjustesen)

---

Top Contributors

[![alexjustesen](https://avatars.githubusercontent.com/u/1144087?v=4)](https://github.com/alexjustesen "alexjustesen (3 commits)")

---

Tags

phpapisdkalexjustesenbeeruntappd

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/alexjustesen-php-untappd/health.svg)

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)[clever/clever-php

231.6k](/packages/clever-clever-php)

PHPackages © 2026

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