This Bundle allows interact with last fm api

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type: symfony-bundle

v1.0 2014-02-20 23:38 UTC


LastFm Symfony2 bundle to interact with their api.

The v1.0 is the initial version and only handles the next entities. I'm developing on develop branch to add more methods and entities. Feel free to contribute with me to improve this bundle.

  • Artist
  • Tag


The easy way is using composer.Add some of follow requires in your composer.json.

    "require": {
        "ik19/lastfm-bundle": "dev-master"

    "require": {
        "ik19/lastfm-bundle": "v1.0"


composer require ik19/lastfm-bundle 

on your terminal to start the installation.


After installing the bundle, make add the bundle in app/AppKernel.php

new ik19\LastFmBundle\LastFmBundle(),

Put your api key and your api secret into the app/config file.

# last_fm LastFM Bundle 
    last_fm_key: "Your_api_key" 
    last_fm_secret: "Your_secret_key"


To start using it simply use like a service in your controllers

$artist = $this->get('last_fm.artist');
$response = $artist->getResponse();