2017 © Pedro Peláez
 

library silex-soundcloud

Silex SoundCloud Provider

image

mrprompt/silex-soundcloud

Silex SoundCloud Provider

  • Friday, October 21, 2016
  • by mrprompt
  • Repository
  • 1 Watchers
  • 2 Stars
  • 219 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SoundCloud Silex Provider

Build Status Code Climate Test Coverage Issue Count, (*1)

Install

composer require mrprompt/silex-soundcloud

Usage

use SilexFriends\SoundCloud\SoundCloud;
use Silex\Application;

$client_id      = getenv('SOUNDCLOUD_CLIENT_ID');
$client_secret  = getenv('SOUNDCLOUD_CLIENT_SECRET');

$app = new Application;
$app->register(new SoundCloud($client_id, $client_secret));

/* @var $url string */
$url = $app['request']->get('url');

/* @var $sound array */
$sound = $app['soundcloud']($url);

var_dump($sound);

Tests

./vendor/bin/phpunit

License

MIT, (*2)

The Versions

21/10 2016

dev-master

9999999-dev

Silex SoundCloud Provider

  Sources   Download

MIT

The Requires

 

The Development Requires