https://github.com/nucleos/nucleossetlistfmbundle
🔌 This bundle provides services for using the setlist.fm API with symfony.
https://github.com/nucleos/nucleossetlistfmbundle
api bundle hacktoberfest php setlist setlistfm symfony symfony-bundle webservice-client
Last synced: 10 months ago
JSON representation
🔌 This bundle provides services for using the setlist.fm API with symfony.
- Host: GitHub
- URL: https://github.com/nucleos/nucleossetlistfmbundle
- Owner: nucleos
- License: mit
- Created: 2019-01-18T16:18:54.000Z (over 7 years ago)
- Default Branch: 1.4.x
- Last Pushed: 2024-11-12T05:29:13.000Z (over 1 year ago)
- Last Synced: 2024-12-16T03:10:48.966Z (over 1 year ago)
- Topics: api, bundle, hacktoberfest, php, setlist, setlistfm, symfony, symfony-bundle, webservice-client
- Language: PHP
- Homepage: https://nucleos.rocks
- Size: 1.07 MB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
NucleosSetlistFmBundle
======================
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://packagist.org/packages/nucleos/setlistfm-bundle)
[](https://github.com/nucleos/NucleosSetlistFmBundle/actions?query=workflow%3A"Continuous+Integration"+event%3Apush)
[](https://codecov.io/gh/nucleos/NucleosSetlistFmBundle)
This library provides a symfony bundle for [Setlist.fm PHP API](https://github.com/nucleos/setlistfm-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:
```php
// config/bundles.php
return [
// ...
Nucleos\SetlistFmBundle\NucleosSetlistFmBundle::class => ['all' => true],
];
```
## Configure the Bundle
Create a configuration file called `nucleos_setlistfm.yaml`:
```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](LICENSE.md).
[Setlist.fm API]: https://api.setlist.fm