Download the PHP package houdunwang/aliyun without Composer

On this page you can find all versions of the php package houdunwang/aliyun. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package aliyun

阿里云

提供了常用的阿里云服务操作方法,是对阿里云官网SDK的封装,整体使用安装可靠。

当参数配置正确后,可以先执行一个本组件中的单元测试进行验证,之后在线上配置即可。

配置

直播

1. 推流地址

方法说明

参数说明

参数 说明
$url 直播链接
$key 加密密钥
$hour 生成的链接地址从重成开始可以使用时间,超过这个时间将无效。

使用示例

$url 变量说明

变量 说明
houdunren 直播流所属应用名称,登录阿里云后台查看
app 直播流名称,可自定义
vhost 直播域名,登录阿里云后台进行查看

2. OBS直播

生成推流地址后就可以在OBS或斗鱼等支持推流的软件中直播了。

下面是在第一步中生成的推流地址

下面是OBS中的设置

在阿里云后台查看直播状态

3. 直播通知

直播通知用于开启直播后向指定地址发送消息。官方文档

4. 接收通知

请自行通过请求过来的参数处理业务

5. 其他接口

直播系统了很多接口,具体请参考阿里官网手册,下面我以一个接口来讲解使用方法,其他的使用请参考手册,其实就是传递些参数而已。

查看某个域名下所有流的信息

邮件

需要先在阿里云开通邮件服务,并正确配置。

短信

使用短信接口前需要正确设置管理、模板等。


All versions of aliyun with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package houdunwang/aliyun contains the following files

Loading the files please wait ....