PHP code example of golles / php-3fm-now-playing

1. Go to this page and download the library: Download golles/php-3fm-now-playing 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/ */

    

golles / php-3fm-now-playing example snippets


$helper = new Helper3FM();
$helper->get3FMNowPlaying();
$nowPlaying = $helper->getResponse3FM();
echo ucwords($nowPlaying->artist . ' - ' . $nowPlaying->title);

php composer.phar 

"golles/php-3fm-now-playing": "*"