PHPackages                             gracenote/gracenote - 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. gracenote/gracenote

ActiveLibrary[API Development](/categories/api)

gracenote/gracenote
===================

A PHP library for abstracting the Gracenote API

21293PHP

Since May 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/StukiOrg/GracenoteClient-PHP)[ Packagist](https://packagist.org/packages/gracenote/gracenote)[ RSS](/packages/gracenote-gracenote/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Gracenote API PHP Library
=========================

[](#gracenote-api-php-library)

This is a library to abstract the Gracenote API

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

[](#installation)

1. edit `composer.json` file with following contents:

    ```
    "require": {
       "gracenote/gracenote": "dev-master"
    }
    ```
2. install composer via `curl -s http://getcomposer.org/installer | php` (on windows, download  and execute it with PHP)
3. run `php composer.phar install`

Use
---

[](#use)

Configure the service

```
use Gracenote\Service\Gracenote;

Gracenote::configure($clientId, $userId);
```

If you do not have a userId you may fetch one by setting your clientId and running

```
Gracenote::register();
```

Run a query

```
$simpleXmlResult = Gracenote::query('ALBUM_SEARCH', array(
    'mode' => 'SINGLE_BEST_COVER',
    'parameters' => array(
        'ARTIST' => 'the bengals',
        'ALBUM_TITLE' => 'different light',
        'TRACK_TITLE' => 'walk like an egyptian'
    ),
    'options' => array(
        'SELECT_EXTENDED' => 'COVER,REVIEW,ARTIST_BIOGRAPHY,ARTIST_IMAGE,ARTIST_OET,MOOD,TEMPO',
        'SELECT_DETAIL' => 'GENRE:3LEVEL,MOOD:2LEVEL,TEMPO:3LEVEL,ARTIST_ORIGIN:4LEVEL,ARTIST_ERA:2LEVEL,ARTIST_TYPE:2LEVEL',
    ),
));
```

The Gracenote API will return a SimpleXmlElement of the results

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/49dd7d9dba889ac674b0da447d9c1e69d1128dc3ccbaef98ba83d6ee519fc2d6?d=identicon)[tom\_anderson](/maintainers/tom_anderson)

---

Top Contributors

[![TomHAnderson](https://avatars.githubusercontent.com/u/493920?v=4)](https://github.com/TomHAnderson "TomHAnderson (12 commits)")[![richadams](https://avatars.githubusercontent.com/u/439789?v=4)](https://github.com/richadams "richadams (5 commits)")

### Embed Badge

![Health badge](/badges/gracenote-gracenote/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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