PHPackages                             joeymckenzie/openbrewerydb-php-api - 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. joeymckenzie/openbrewerydb-php-api

ActiveLibrary[API Development](/categories/api)

joeymckenzie/openbrewerydb-php-api
==================================

An Open Brewery DB API client for PHP.

0.9.0(2y ago)2193MITPHPPHP &gt;=8.3CI passing

Since Jan 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JoeyMckenzie/openbrewerydb-php-client)[ Packagist](https://packagist.org/packages/joeymckenzie/openbrewerydb-php-api)[ Docs](https://github.com/joeymckenzie/openbrewerydb-php-client)[ RSS](/packages/joeymckenzie-openbrewerydb-php-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (15)Versions (13)Used By (0)

[![Logo](./assets/obdb.png)](./assets/obdb.png)

 [![](https://github.com/JoeyMckenzie/openbrewerydb-php-api/actions/workflows/ci.yml/badge.svg)](https://github.com/JoeyMckenzie/openbrewerydb-php-api/actions/workflows/ci.yml/badge.svg) [![](https://camo.githubusercontent.com/ea37e2cbfe5c3d76e796bde2656647ef1d4ae5b9b070737eec219c56066316f4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3734373032303731382f736869656c643f7374796c653d666c6174)](https://camo.githubusercontent.com/ea37e2cbfe5c3d76e796bde2656647ef1d4ae5b9b070737eec219c56066316f4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3734373032303731382f736869656c643f7374796c653d666c6174)

(Un)official PHP bindings for the [Open Brewery DB API](https://openbrewerydb.org/). Open Brewery DB provides a public dataset for breweries around the world, as well as offering an API to retrieve data in various forms. This library aims to provide straight and easy-to-use PHP bindings for querying the API. The library is inspired by the [Open AI client for PHP](https://github.com/openai-php/client) - please give it star as well!

To get started, first install the package with composer:

```
$ composer require joeymckenzie/openbrewerydb-php-client
```

Next, spin up a new client within your code and fire away!

```
