Skip to content

๐Ÿ”Œ This bundle provides services for using the setlist.fm API with symfony.

License

Notifications You must be signed in to change notification settings

nucleos/NucleosSetlistFmBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NucleosSetlistFmBundle

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage Type Coverage

This library provides a symfony bundle for Setlist.fm PHP API.

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 nucleos/setlistfm-bundle
# To define a default http client and message factory
composer require symfony/http-client nyholm/psr7

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Nucleos\SetlistFmBundle\NucleosSetlistFmBundle::class => ['all' => true],
];

Configure the Bundle

Create a configuration file called nucleos_setlistfm.yaml:

# config/packages/nucleos_setlistfm.yaml

nucleos_setlistfm:
    api:
        key:    "%setlistfm_api.key%"

    http:
        client: 'httplug.client'
        message_factory: 'nyholm.psr7.psr17_factory'

License

This library is under the MIT license.