{"id":28802515,"url":"https://github.com/alexjustesen/laravel-openbrewerydb-api","last_synced_at":"2026-05-10T02:14:36.735Z","repository":{"id":43337352,"uuid":"447350629","full_name":"alexjustesen/laravel-openbrewerydb-api","owner":"alexjustesen","description":"This pacakge provides an easy connection to the Open Brewery DB project for PHP and Laravel applications.","archived":false,"fork":false,"pushed_at":"2023-10-09T13:12:23.000Z","size":57,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T18:44:02.897Z","etag":null,"topics":["api","beer","brewery","database","hacktoberfest","laravel","open","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexjustesen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null},"funding":{"github":"alexjustesen"}},"created_at":"2022-01-12T19:48:45.000Z","updated_at":"2022-10-04T16:27:54.000Z","dependencies_parsed_at":"2023-02-16T07:46:07.749Z","dependency_job_id":null,"html_url":"https://github.com/alexjustesen/laravel-openbrewerydb-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"spatie/package-skeleton-laravel","purl":"pkg:github/alexjustesen/laravel-openbrewerydb-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexjustesen%2Flaravel-openbrewerydb-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexjustesen%2Flaravel-openbrewerydb-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexjustesen%2Flaravel-openbrewerydb-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexjustesen%2Flaravel-openbrewerydb-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexjustesen","download_url":"https://codeload.github.com/alexjustesen/laravel-openbrewerydb-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexjustesen%2Flaravel-openbrewerydb-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260515081,"owners_count":23020617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","beer","brewery","database","hacktoberfest","laravel","open","php"],"created_at":"2025-06-18T08:06:25.803Z","updated_at":"2026-05-10T02:14:36.730Z","avatar_url":"https://github.com/alexjustesen.png","language":"PHP","funding_links":["https://github.com/sponsors/alexjustesen"],"categories":[],"sub_categories":[],"readme":"# Laravel Openbrewerydb API\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/alexjustesen/laravel-openbrewerydb-api.svg?style=flat-square)](https://packagist.org/packages/alexjustesen/laravel-openbrewerydb-api)\n[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/alexjustesen/laravel-openbrewerydb-api/run-tests?label=tests)](https://github.com/alexjustesen/laravel-openbrewerydb-api/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/alexjustesen/laravel-openbrewerydb-api/Check%20\u0026%20fix%20styling?label=code%20style)](https://github.com/alexjustesen/laravel-openbrewerydb-api/actions?query=workflow%3A\"Check+%26+fix+styling\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/alexjustesen/laravel-openbrewerydb-api.svg?style=flat-square)](https://packagist.org/packages/alexjustesen/laravel-openbrewerydb-api)\n\nThis pacakge provides an easy connection to the [Open Brewery DB](https://www.openbrewerydb.org) project for PHP and Laravel applications.\n\n## About Open Brewery DB\nOpen Brewery DB is a free dataset and API with public information on breweries, cideries, brewpubs, and bottleshops. The goal of Open Brewery DB is to maintain an open-source, community-driven dataset and provide a public API. It is our belief that public information should be freely accessible for the betterment of the beer community and the happiness of web developers and data analysts.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require alexjustesen/laravel-openbrewerydb-api\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"laravel-openbrewerydb-api-config\"\n```\n\n## Usage\n\n### Auto Complete Search for Breweries\n\n```php\nuse AlexJustesen\\OpenbrewerydbApi\\OpenbrewerydbApi;\n\n$request = OpenbrewerydbApi::autoComplete('broad');\n\n$response = $request-\u003ejson();\n```\n\n\n### Get a Brewery\n\n```php\nuse AlexJustesen\\OpenbrewerydbApi\\OpenbrewerydbApi;\n\n$request = OpenbrewerydbApi::get('broad-brook-brewing-company-suffield');\n\n$response = $request-\u003ejson();\n```\n\n### List Breweries\n\n```php\nuse AlexJustesen\\OpenbrewerydbApi\\OpenbrewerydbApi;\n\n$request = OpenbrewerydbApi::list();\n\n$response = $request-\u003ejson();\n```\n\n### Search for Breweries\n\n```php\nuse AlexJustesen\\OpenbrewerydbApi\\OpenbrewerydbApi;\n\n$request = $request = OpenbrewerydbApi::search('broad');\n\n$response = $request-\u003ejson();\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Alex Justesen](https://github.com/alexjustesen)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexjustesen%2Flaravel-openbrewerydb-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexjustesen%2Flaravel-openbrewerydb-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexjustesen%2Flaravel-openbrewerydb-api/lists"}