sinri/aliyun-log-php-sdk

Aliyun Log SDK for PHP with Sinri Fix

1.0.4 2020-06-03 07:20 UTC

This package is auto-updated.

Last update: 2024-04-29 04:09:27 UTC


README

令和之初,为鲵苦阿里云SDK之PHP版本久矣,遂工之以魔改,使准行于PHP 5.6之环境,并置其包于Packagist,以善天下苍生。

Release

composer require sinri/aliyun-log-php-sdk

Package

以下为阿里SDK介绍原文

API VERSION

0.6.1

SDK RELEASE TIME

2018-02-18

Introduction

Log Service SDK for PHP,used to set/get log data to Aliyun Log Service(www.aliyun.com/product/sls).

API Reference: 中文 ENGLISH

Summary

  1. Request-Request style Restful API interface
  2. Use Protocol buffer to send data
  3. Data can be compressed when sending to server
  4. Aliyun_Log_Exception will be thrown if any error happen
  5. Introduce simple logger for submit log easily with different levels
  6. Create local log cache to submit several logs in single http post.

Environment Requirement

  1. PHP 7.1.7 and later:Master Branch
  2. PHP 5.2+:Tree v1.0