Skip to content

ashishkadam/laravel5-soundcloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5 - Soundcloud Api Service Provider

Soundcloud API Service Provider For Laravel 5

Installation

The package can be installed via Composer by requiring the "njasm/laravel5-soundcloud": "dev-master" package in your project's composer.json.

{
    "require": {
        "njasm/laravel5-soundcloud": "dev-master"
    },
    "minimum-stability": "dev"
}

Next you need to add the service provider to app/config/app.php.

'providers' => array(
    // ...
    'Njasm\Laravel\Soundcloud\SoundcloudProvider',
)

Add Soundcloud settings to your services config

Laravel 5 has a new file that contains all third party services app/config/services.php. Add your client_id and client_secret and callback_url.

// ...
'soundcloud' => [
	'client_id' => 'CLIENT_ID_HERE',
	'client_secret' => 'CLIENT_SECRET_HERE',
	'callback_url' => 'CALLBACK_URL_HERE',
],

Usage

Access your Soundcloud object by requesting it to your Application

$soundcloud = $app->make('Soundcloud');
echo $soundcloud->getAuthUrl();

About

Soundcloud API Service Provider For Laravel 5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%