PHP code example of ze-pequeno / pequeno-spotify-module

1. Go to this page and download the library: Download ze-pequeno/pequeno-spotify-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

ze-pequeno / pequeno-spotify-module example snippets


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