Download the PHP package duck7000/musicbrainz-php without Composer
On this page you can find all versions of the php package duck7000/musicbrainz-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download duck7000/musicbrainz-php
More information about duck7000/musicbrainz-php
Files in duck7000/musicbrainz-php
Package musicbrainz-php
Short Description Library for retrieving music, cd lp etc from musicBrainz API
License GPL-2.0-or-later
Homepage https://github.com/duck7000/MusicBrainzPHP
Informations about the package musicbrainz-php
musicBrainzPHP
PHP library for retrieving CD information from musicBrainz API.
Retrieve most of the information you can see on musicBrainz page of specific title.
Search for title, artist, barcode, musicBrainz discid, catalog number or override format
Get front and back cover art image urls. from coverartarchive.org
Search is default for CD (change in config) or override in TitleSearch class search().
All info is in the wikipages, every class and method is described there!
Quick Start
- If you're not using composer or an autoloader include
bootstrap.php
. - Search for cd title, artist, barcode, musicBrainz discid, catalog number or override format
Installation
This library uses musicBrainz API.
Get the files with one of:
- Git clone. Checkout the latest release tag.
- [Zip/Tar download]
Requirements
- PHP >= 7.4 - 8.4 (all versions < 8.0 are end of life)
- PHP cURL extension
Options
musicBrainz has a few options in config:
Default user agent (this must be something that identifies the user and program!) possible ban!
Default search: CD (this can be others too like vinyl) (this can be overriden in TitleSearch class search()
Default search limit: 25 (range = 1-100 including 1 and 100)
Fetching data from a title
Credits to imdbphp, musicBrainzPHP is loosly based on it.
All versions of musicbrainz-php with dependencies
psr/log Version ^1.0 || ^2.0
ext-curl Version *
ext-json Version *
psr/simple-cache Version ^1.0