Download the PHP package stephan-strate/php-cover-art-archive-api without Composer
On this page you can find all versions of the php package stephan-strate/php-cover-art-archive-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stephan-strate/php-cover-art-archive-api
More information about stephan-strate/php-cover-art-archive-api
Files in stephan-strate/php-cover-art-archive-api
Package php-cover-art-archive-api
Short Description PHP wrapper for CoverArtArchive api. Supports object-oriented access using repositories and factories.
License MIT
Homepage https://github.com/stephan-strate/php-cover-art-archive-api
Informations about the package php-cover-art-archive-api
CoverArtArchive API Wrapper
CoverArtArchive is a joint project between the Internet Archive and MusicBrainz. Goal of this project is to make cover art images available to everyone.
Using this api wrapper, you can retrieve cover art images using the release MBID of MusicBrainz.
Recommended to use together with stephan-strate/php-music-brainz-api.
Inspired by php-github-api and php-tmdb.
Installation
Using composer:
Why php-http/guzzle7-adapter:^1.0
? This library is decoupled from any http client using HTTPlug.
Usage
First you want to create the client:
Using this client, you can retrieve all other objects/apis.
Repository
The repository implementation takes the decoded json response and maps it to a matching model. This is the preferred way of using the library.
Images
As the CoverArtArchive serves, as the name implies, images. Therefore the repository can also return image resources.
Api
The api implementation returns the raw json response of the endpoint. You might want to use the repository implementation instead to get the parsed objects.
Contributing
Help & Donate
I am very curious about projects that use my libraries. Please drop me a short message about what you use the library for. You can find my contact information on my profile (LinkedIn, E-mail).
If this project saved you time and money or you just appreciate what I am doing, please consider sponsoring me 😊
All versions of php-cover-art-archive-api with dependencies
php-http/httplug Version ^2.2
php-http/client-common Version ^2.3
php-http/discovery Version ^1.10
php-http/client-implementation Version ^1.0
symfony/serializer Version ^5.2
symfony/property-access Version ^5.2
doctrine/annotations Version ^1.11
ext-json Version *
ext-gd Version *