inquid/yii2-spotify
最新稳定版本:v0.1
Composer 安装命令:
composer require inquid/yii2-spotify
包简介
spotify, utilities for yii2 framework
关键字:
README 文档
README
yii2 Inquid Spotify
spotify utilities for yii2 framework
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist inquid/yii2-spotify "*"
or add
"inquid/yii2-spotify": "dev-master"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \inquid\spotify\SpotifyWidget::widget(['song' => '/* paste here your spotify uri */']); ?>
Params available: -song -theme -view -width -height -frameBorder -transparency
- Song params is required like the next example spotify:track:5O31BTWa4XNFtE3zVgeCoh
Example
Code:
<?= \inquid\spotify\SpotifyWidget::widget(['song' => 'spotify:track:2QB1chgLUjo4K5JwODVue1', 'height' => 400, 'width' => 400]); ?>
for more information check out the following link: https://developer.spotify.com/technologies/widgets/spotify-play-button/
SUPPORT
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-06-15