ze-pequeno/pequeno-spotify-module

Zend Framework 2 Module for Spotify Web API

1.0.8 2014-08-17 20:51 UTC

README

Build Status Coverage Status

PequenoSpotifyModule integrates Spotify Web API with Zend Framework 2 quickly and easily.

  • Search service support
  • Lookup service support

Release Information

Pequeno Spotify Module 1.0.9dev

This is the ninth maintenance release (in development) for the version 1.0 series.

17 August 2014

Installation

Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.

php composer.phar require ze-pequeno/pequeno-spotify-module
# (When asked for a version, type `1.*`)

Then add PequenoSpotifyModule to your config/application.config.php.

Installation without composer is not officially supported and requires you to manually install all dependencies that are listed in composer.json

Registered Services

  • pequeno.services.spotify: a PequenoSpotifyModule\Service\SpotifyService instance
  • Pequeno\Service\SpotifyService: an alias of pequeno.services.spotify

Service Locator

To access the SpotifyService, use the main service locator:

// for example, in a controller:
$spotify = $this->getServiceLocator()->get('pequeno.services.spotify');
$spotify = $this->getServiceLocator()->get('Pequeno\Service\SpotifyService');