Skip to content
Setlist.fm webservice client for php
PHP Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
src
tests
vendor-bin
.editorconfig
.gitattributes
.gitignore
.kodiak.toml
.php_cs.dist
.rmt.yml
.travis.yml
CHANGELOG
LICENSE.md
Makefile
README.md
composer.json
phpstan.neon.dist
phpunit.xml.dist

README.md

Setlist.fm PHP library

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Build Status Scrutinizer Code Quality Code Climate Coverage Status

This library provides a wrapper for using the Setlist.fm API inside PHP and a bridge for symfony.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:

composer require core23/setlistfm-api

composer require guzzlehttp/guzzle # if you want to use Guzzle native
composer require php-http/guzzle6-adapter # if you want to use HTTPlug with Guzzle

Usage

General usage

// Get HTTPlug client and message factory
$client         = \Http\Discovery\HttpClientDiscovery::find();
$messageFactory = \Http\Discovery\MessageFactoryDiscovery::find();

// Create connection
$connection = new \Core23\SetlistFm\Connection\HTTPlugConnection($client, $messageFactory);

$artistApi = new \Core23\SetlistFm\Service\ArtistService($connection);
$artists = $artistApi->search(ArtistSearchBuilder::create()
    ->withArtistName('Slipknot')
);

License

This library is under the MIT license.

You can’t perform that action at this time.