PequenoSpotifyModule integrates Spotify Web API with Zend Framework 2 quickly and easily.
- Search service support
- Lookup service support
Pequeno Spotify Module 1.0.9dev
This is the ninth maintenance release (in development) for the version 1.0 series.
17 August 2014
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
pequeno.services.spotify
: aPequenoSpotifyModule\Service\SpotifyService
instancePequeno\Service\SpotifyService
: an alias ofpequeno.services.spotify
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');