core23/setlistfm-bundle
This bundle provides services for using the setlist.fm API inside the symfony.
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 1
Type:symfony-bundle
Requires
- php: ^7.2
- ext-json: *
- core23/setlistfm-api: ^1.0
- psr/http-message: ^1.0
- psr/log: ^1.0
- symfony/config: ^4.2
- symfony/dependency-injection: ^4.2
- symfony/expression-language: ^4.2
- symfony/framework-bundle: ^4.2
- symfony/http-foundation: ^4.2
- symfony/http-kernel: ^4.2
- psr/http-client: ^1.0
Requires (Dev)
- nyholm/psr7: ^1.0
- symfony/http-client: ^4.4 || ^5.0
- bamarni/composer-bin-plugin: ^1.3
- localheinz/composer-normalize: ^1.3
Suggests
- cache/adapter-bundle: Symfony cache adapter
- symfony/http-client: Symfony HTTP client implementation
This package is auto-updated.
Last update: 2019-12-15 09:02:39 UTC
README
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 core23/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 [ // ... Core23\SetlistFmBundle\Core23SetlistFmBundle::class => ['all' => true], ];
Configure the Bundle
Create a configuration file called core23_setlistfm.yaml
:
# config/packages/core23_setlistfm.yaml core23_setlistfm: api: key: "%setlistfm_api.key%" http: client: 'httplug.client' message_factory: 'nyholm.psr7.psr17_factory'
License
This library is under the MIT license.