nucleos / lastfm-bundle
This bundle provides services for using the last.fm API inside the symfony.
Fund package maintenance!
core23
Opencollective
Ko-Fi
Other
Installs: 788
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 5
Type:symfony-bundle
Requires
- php: ^8.0
- nucleos/lastfm: ^3.2
- psr/http-client: ^1.0
- psr/http-message: ^1.0
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/event-dispatcher-contracts: ^1.1 || ^2.0 || ^3.0
- symfony/expression-language: ^5.4 || ^6.0
- symfony/twig-bridge: ^5.4 || ^6.0
- symfony/twig-bundle: ^5.4 || ^6.0
- twig/twig: ^2.4 || ^3.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.0.1
- nyholm/psr7: ^1.0
- symfony/browser-kit: ^5.4 || ^6.0
- symfony/console: ^5.4 || ^6.0
- symfony/framework-bundle: ^5.4 || ^6.0
- symfony/http-client: ^5.4 || ^6.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/routing: ^5.4 || ^6.0
- symfony/translation: ^5.4 || ^6.0
- symfony/yaml: ^5.4 || ^6.0
Suggests
- symfony/http-client: Symfony HTTP client implementation
Conflicts
- symfony/framework-bundle: <5.4
- 1.2.x-dev
- 1.1.x-dev
- 1.1.0
- 1.0.x-dev
- 1.0.0
- 0.5.0
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dependabot/composer/vendor-bin/tools/psalm/plugin-symfony-3.1.5
- dev-dependabot/composer/vendor-bin/tools/phpstan/phpstan-1.6.8
- dev-dependabot/composer/vendor-bin/tools/phpstan/phpstan-strict-rules-1.2.3
- dev-dependabot/composer/vendor-bin/tools/phpstan/phpstan-phpunit-1.1.1
- dev-dependabot/composer/vendor-bin/tools/friendsofphp/php-cs-fixer-3.8.0
- dev-dependabot/composer/vendor-bin/tools/phpstan/phpstan-symfony-1.1.8
This package is auto-updated.
Last update: 2022-05-16 04:37:10 UTC
README
This bundle provides a wrapper for using the Last.fm API inside symfony.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require nucleos/lastfm-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\LastFmBundle\NucleosLastFmBundle::class => ['all' => true], ];
Configure the Bundle
Define the API credentials in your configuration.
# config/packages/nucleos_lastfm.yaml nucleos_lastfm: api: app_id: "%lastfm_api.id%" shared_secret: "%lastfm_api.secret%" http: client: 'httplug.client' message_factory: 'nyholm.psr7.psr17_factory'
License
This bundle is under the MIT license.