golles / php-3fm-now-playing
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (2.0.2) of this package.
Helper class to retrieve and decode now playing from Dutch radio 3FM
2.0.2
2017-04-01 15:59 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2021-09-16 01:33:52 UTC
README
This is a php library to retrieve and decode the now playing information from Dutch radio 3fm (NPO 3FM).
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist golles/php-3fm-now-playing "*"
or add
"golles/php-3fm-now-playing": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code:
$helper = new Helper3FM(); $helper->get3FMNowPlaying(); $nowPlaying = $helper->getResponse3FM(); echo ucwords($nowPlaying->artist . ' - ' . $nowPlaying->title);