This bundle provides services for using the API inside the symfony.

Installs: 73

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 1


0.5.0 2018-12-30 22:40 UTC

This package is auto-updated.

Last update: 2020-03-24 21:07:25 UTC


Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Continuous Integration Code Coverage

This bundle provides a wrapper for using the API inside symfony.


Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require core23/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 [
    // ...
    Core23\LastFmBundle\Core23LastFmBundle::class => ['all' => true],

Configure the Bundle

Define the API credentials in your configuration.

# config/packages/core23_lastfm.yaml

        app_id:         ""
        shared_secret:  "%lastfm_api.secret%"

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


This bundle is under the MIT license.