Skip to content

Commit

Permalink
chore: add styleci
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyMckenzie committed Mar 1, 2024
1 parent 7091772 commit aa37ab1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
php:
preset: laravel
version: 8.3
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
![OBDB logo](./assets/obdb.png)

[![CI](https://github.com/JoeyMckenzie/openbrewerydb-php-api/actions/workflows/ci.yml/badge.svg)](https://github.com/JoeyMckenzie/openbrewerydb-php-api/actions/workflows/ci.yml)
<div align="center">
<img src="https://github.com/JoeyMckenzie/openbrewerydb-php-api/actions/workflows/ci.yml/badge.svg" />
<img src="https://github.styleci.io/repos/747020718/shield?style=flat" />
</div>

(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
Expand Down Expand Up @@ -40,8 +43,10 @@ $randomBrewery = $client->breweries()->random(5);
var_dump($randomBrewery);
```

The library relies on autodiscovery and will use whichever package that implements PSR-17 within your composer dependencies.
You are free to use the HTTP client of you choice, though a popular package is [Guzzle](https://docs.guzzlephp.org/en/stable/).
The library relies on autodiscovery and will use whichever package that implements PSR-17 within your composer
dependencies.
You are free to use the HTTP client of you choice, though a popular package
is [Guzzle](https://docs.guzzlephp.org/en/stable/).

For the entire set of APIs offered by Open Brewery DB, check out the docs on
their [website](https://openbrewerydb.org/documentation).

0 comments on commit aa37ab1

Please sign in to comment.