egor-henek / yii2-mixcloud
Enhanced to work with api mixcloud
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2025-09-13 22:52:44 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require egor-henek/yii2-mixcloud:~1.0
or add
"egor-henek/yii2-mixcloud" : "~1.0"
to the require section of your application's composer.json
file.
Configure
In the component configuration file to add
'mixcloud' => [ 'class' => 'EgorHenek\mixcloud\Mixcloud', 'clientToken' => <client token> ],
For the client token:
Create an application at the following address: https://www.mixcloud.com/developers/create/
So you get a Client ID and Client Secret
Go https://www.runscope.com/oauth_tool?utm_source=partner&utm_medium=link&utm_campaign=hurlit to create the necessary token
How to use
Upload example:
Yii::$app->mixcloud->upload('test.mp3', 'name');
Further Information
Please, check the MixCloud api site documentation for further information about its configuration options.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License. Please see License File for more information.