PHPackages                             pbxg33k/musicbrainz - 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. pbxg33k/musicbrainz

ActiveLibrary[API Development](/categories/api)

pbxg33k/musicbrainz
===================

A PHP library for accessing the MusicBrainz API

v0.3.0(10y ago)61.9k[3 issues](https://github.com/PBXg33k/MusicBrainz/issues)[2 PRs](https://github.com/PBXg33k/MusicBrainz/pulls)MITPHP

Since Apr 30Pushed 9y ago4 watchersCompare

[ Source](https://github.com/PBXg33k/MusicBrainz)[ Packagist](https://packagist.org/packages/pbxg33k/musicbrainz)[ Docs](https://github.com/powered-by-moe/musicbrainz)[ RSS](/packages/pbxg33k-musicbrainz/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/8b5418bad4cad23dd14b36fa5b4af30adad4c0a09cbd44b48b9805541316421d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706f77657265642d62792d6d6f652f4d75736963427261696e7a2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/powered-by-moe/MusicBrainz/build-status/master) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/b0ff000f463b99e4b758c783a1f299e2e3f38ccd16ecf7f3d37a384969e26374/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f706f77657265642d62792d6d6f652f4d75736963427261696e7a2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/powered-by-moe/MusicBrainz/?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/7e844bbdb9b41c63fc5f6bc1c493354698c28826e137d14910e9dfd976d5bf37/68747470733a2f2f706f7365722e707567782e6f72672f7062786733336b2f6d75736963627261696e7a2f762f737461626c65)](https://packagist.org/packages/pbxg33k/musicbrainz) [![Total Downloads](https://camo.githubusercontent.com/49dadeb76c6806964bb02ab7c7cb3424bf310c2fab162184516ac4322f728f6c/68747470733a2f2f706f7365722e707567782e6f72672f7062786733336b2f6d75736963627261696e7a2f646f776e6c6f616473)](https://packagist.org/packages/pbxg33k/musicbrainz) [![Latest Unstable Version](https://camo.githubusercontent.com/4f130342fa0f0b823a532637fcfac715eee88876957b053ccdfcb5adcaf78430/68747470733a2f2f706f7365722e707567782e6f72672f7062786733336b2f6d75736963627261696e7a2f762f756e737461626c65)](https://packagist.org/packages/pbxg33k/musicbrainz) [![License](https://camo.githubusercontent.com/3eed5364b44e84fb2f8a632a26a825fe7bb8779f75ed0cd182e5a877035ffbde/68747470733a2f2f706f7365722e707567782e6f72672f7062786733336b2f6d75736963627261696e7a2f6c6963656e7365)](https://packagist.org/packages/pbxg33k/musicbrainz)

MusicBrainz Web Service (v2) PHP class
======================================

[](#musicbrainz-web-service-v2-php-class)

This PHP library that allows you to easily access the MusicBrainz Web Service V2 API. Visit the [MusicBrainz development page](http://musicbrainz.org/doc/Development) for more information.

This project is a fork of  which in turn is a fork of the discontinued project [olds/phpbrainz](https://github.com/olds/phpbrainz)(see the [Network Graph](https://github.com/powered-by-moe/MusicBrainz/network)). It takes some inspiration from the [Python bindings](https://github.com/alastair/python-musicbrainz-ngs)

Installation
------------

[](#installation)

### install Composer

[](#install-composer)

Download the installer file in your project folder:

```
wget https://getcomposer.org/installer -O composer-setup.php

```

[Review on Github](https://github.com/composer/getcomposer.org/blob/master/web/installer)if you which to know more about the inner workings of the Composer installer. The source is plain PHP. and then

```
mkdir -p bin
php composer-setup.php --install-dir=bin --filename=composer

```

Now just run

```
bin/composer install -vvv

```

This takes a while. Get a coffe or do some workout. When finished, open one of the examples in your browser:

Usage Example
-------------

[](#usage-example)

**With Guzzle5**
(this is the default in our `composer.json`)

```
