A PHP library for accessing the CoverArtArchive API

Installs: 102

Dependents: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

v0.1.1 2013-05-08 12:38 UTC


This PHP library that allows you to easily access the Cover Art Archive API. Visit the Cover Art Archive page for more information.

Usage Example

use CoverArtArchive\CoverArt;
use Guzzle\Http\Client;

require __DIR__ . '/vendor/autoload.php';

try {
    $coverArt = new CoverArt('1e477f68-c407-4eae-ad01-518528cedc2c', new Client());
    $front    = $coverArt->getFrontImage();
    <img src="<?=$front->getThumbnail('small')?>" />
    <img src="<?=$front->getThumbnail('large')?>" />
    <img src="<?=$front->getImage()?>" /><br />

} catch (Exception $e) {
    print $e->getMessage();    


PHP5 and cURL extension.