nucleos / setlistfm-bundle
This bundle provides services for using the setlist.fm API with symfony.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 556
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 3
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^8.1
- ext-json: *
- nucleos/setlistfm: ^3.0
- psr/http-client: ^1.0
- psr/http-message: ^1.0 || ^2.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- symfony/config: ^6.4 || ^7.0
- symfony/dependency-injection: ^6.4 || ^7.0
- symfony/expression-language: ^6.4 || ^7.0
- symfony/framework-bundle: ^6.4 || ^7.0
- symfony/http-foundation: ^6.4 || ^7.0
- symfony/http-kernel: ^6.4 || ^7.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.0.1
- nyholm/psr7: ^1.0
- symfony/browser-kit: ^6.4 || ^7.0
- symfony/http-client: ^6.4 || ^7.0
Suggests
- cache/adapter-bundle: Symfony cache adapter
- symfony/http-client: Symfony HTTP client implementation
This package is auto-updated.
Last update: 2024-11-12 05:29:06 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 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.