PHPackages                             c0dex/acoustid - 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. c0dex/acoustid

ActiveLibrary[API Development](/categories/api)

c0dex/acoustid
==============

PHP wrapper for audio fingerprint search service at acoustid.org

5324PHPCI failing

Since Apr 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/psilocyberunner/acoustid-php)[ Packagist](https://packagist.org/packages/c0dex/acoustid)[ RSS](/packages/c0dex-acoustid/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

AcoustId API
============

[](#acoustid-api)

[![Build Status](https://camo.githubusercontent.com/63ed4e7a9ef81b35e9b9da158fe474d23ca48f2b7795e770ed056c30663ed65a/68747470733a2f2f7472617669732d63692e636f6d2f7073696c6f6379626572756e6e65722f61636f75737469642d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/psilocyberunner/acoustid-php)

This project is a PHP wrapper around [Acoustid.org](https://acoustid.org/webservice) Web Services API.

### Installation

[](#installation)

You can clone this repository.

```
git clone https://github.com/psilocyberunner/acoustid-php.git

```

But the easiest way is to require the [package](https://packagist.org/packages/c0dex/acoustid) from [Composer](https://getcomposer.org/) repository:

```
composer require c0dex/acoustid

```

### Usage

[](#usage)

Library supports next features of AcoustId API:

- Lookup by audio fingerprint
- Lookup by track ID
- Submit audio fingerprints
- Get data submission status
- List AcoustIDs by MBID (MusicBrainz IDs)

### Usage

[](#usage-1)

After installation you should initialize library. Here i use [Dotenv](https://github.com/vlucas/phpdotenv) package to avoid storing credentials inside php files. Also i use exception handler - [Whoops](https://github.com/filp/whoops), you can set your preferred one.

```
