ze-pequeno / pequeno-spotify-module
Zend Framework 2 Module for Spotify Web API
1.0.8
2014-08-17 20:51 UTC
Requires
- php: >=5.3.3
- zendframework/zendframework: >=2.2
Requires (Dev)
- phpunit/phpunit: ~3.7
- satooshi/php-coveralls: ~0.6
- squizlabs/php_codesniffer: 1.4.*
This package is not auto-updated.
Last update: 2024-09-28 13:46:01 UTC
README
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
: aPequenoSpotifyModule\Service\SpotifyService
instancePequeno\Service\SpotifyService
: an alias ofpequeno.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');