Skip to content

cybercog/yii2-soundcloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Soundcloud.com API Extension for Yii 2

This extension provides a Soundcloud API solution for Yii 2.

To use this extension, simply add the following code in your application configuration:

return [
    //....
    'components' => [
        //...
        'soundcloud' => [
            'class' => 'Njasm\Soundcloud\yii2\Soundcloud',
            'clientId' => 'YOUR_SOUNDCLOUD_CLIENT_ID',
            'clientSecret' => 'YOUR_SOUNDCLOUD_CLIENT_SECRET',
            'callbackUrl' => 'YOUR_URL_CALLBACK'
        ],
    ],
];

You can then access Soundcloud component as follows:

echo Yii::$app->soundcloud->getAuthUrl();

For further instructions refer to the related Soundcloud Library.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist njasm/yii2-soundcloud "*"

or add

"njasm/yii2-soundcloud": "*"

to the require section of your composer.json.

About

Soundcloud API extension for yii2 framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • PHP 100.0%