承接 njasm/yii2-soundcloud 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

njasm/yii2-soundcloud

Composer 安装命令:

composer require njasm/yii2-soundcloud

包简介

Soundcloud.com API Component for yii2 framework

README 文档

README

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.

统计信息

  • 总下载量: 160
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-29