Download the PHP package timhbw/xmly-php-sdk without Composer
On this page you can find all versions of the php package timhbw/xmly-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download timhbw/xmly-php-sdk
More information about timhbw/xmly-php-sdk
Files in timhbw/xmly-php-sdk
Download timhbw/xmly-php-sdk
More information about timhbw/xmly-php-sdk
Files in timhbw/xmly-php-sdk
Vendor timhbw
Package xmly-php-sdk
Short Description XMLY SDK for PHP
License MIT
Homepage https://timhbw.com/
Package xmly-php-sdk
Short Description XMLY SDK for PHP
License MIT
Homepage https://timhbw.com/
Please rate this library. Is it a good library?
Informations about the package xmly-php-sdk
PHP SDK for XMLY Services(喜马拉雅服务端 PHP-SDK)
This is an unofficial PHP SDK for XMLY services.
安装
1、Composer 方式(推荐使用该方法安装,成为优雅的 PHPer 🔥)
Composer 是 PHP 的依赖管理工具,支持您项目所需的依赖项,并将其安装到项目中。关于 Composer 安装详细可参考 Composer 官网文档
-
下载 Composer:安装前请务必确保已经正确安装了 PHP
-
安装 Composer: Mac 或 Linux 系统环境在命令行中执行以下命令安装:
- 执行命令添加依赖,可以在你的项目根目录运行:
2、Phar 方式
3、源码方式
- 如果不适应
composer
管理,可以直接下载压缩包(注意需要下载 xmly-php-sdk-版本号.zip 格式的 zip 压缩包,不是 Source code 源码压缩包),解压后,项目中添加如下代码:
运行环境
- PHP 5.3+.
- cURL extension.
通用签名生成算法
使用方法
-
SDK 内已封装的接口:直接调用,比如获取专辑列表:
-
SDK 内未封装的接口:使用封装好的
signatureURL
方法签算请求 URL 并发起 GET 请求 -
SDK 内未封装的接口:使用封装好的
signatureURL
方法签算请求 URL 并发起 POST 请求 -
SDK 内未封装的接口:自行签算请求 URL 并发起 GET 请求
-
SDK 内未封装的接口:自行签算请求 URL 并发起 POST 请求
-
普通 GET 请求
- 普通 POST 请求
快速入门
可以参照 Demo 程序,详见 examples 目录下的文件
All versions of xmly-php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package timhbw/xmly-php-sdk contains the following files
Loading the files please wait ....