Download the PHP package itxiao6/aliyun-sls without Composer
On this page you can find all versions of the php package itxiao6/aliyun-sls. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package aliyun-sls
项目概述
- 基于Hyperf2.0中的阿里云SLS服务扩展
运行环境
确保操作环境满足以下要求:
- PHP >= 7.2
- Swoole PHP extension >= 4.4, and Disabled
Short Name
- OpenSSL PHP extension
- JSON PHP extension
安装
$ composer require "heartide/aliyun-sls"
配置
默认情况下,配置文件为 config/autoload/aliyun_sls.php
, 如文件不存在,则在项目根目录下执行 php bin/hyperf.php vendor:publish heartide/aliyun-sls
使用
注入
接口列表
-
[x]
getLogs
获取日志库中的日志数据Heartide\AliYun\Sls\Request\GetLogsRequest // 参数类 Heartide\AliYun\Sls\Response\GetLogsResponse // 响应类
-
[x]
putLogs
将日志数据写入日志库中Heartide\AliYun\Sls\Request\PutLogsRequest // 参数类 Heartide\AliYun\Sls\Response\PutLogsResponse // 响应类
All versions of aliyun-sls with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-json Version *
ext-zlib Version *
ext-json Version *
ext-zlib Version *
The package itxiao6/aliyun-sls contains the following files
Loading the files please wait ....