PHPackages                             sj-distributor/aliyun-log-php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sj-distributor/aliyun-log-php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sj-distributor/aliyun-log-php-sdk
=================================

The Php SDK of Alibaba log service

1.0.0(1y ago)12MITPHPPHP &gt;=7.1.7

Since Mar 6Pushed 1y agoCompare

[ Source](https://github.com/sj-distributor/aliyun-log-php-sdk)[ Packagist](https://packagist.org/packages/sj-distributor/aliyun-log-php-sdk)[ RSS](/packages/sj-distributor-aliyun-log-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Aliyun Log Service PHP SDK
==========================

[](#aliyun-log-service-php-sdk)

Introduction
------------

[](#introduction)

Log Service SDK for PHP，used to set/get log data to Aliyun Log Service([www.aliyun.com/product/sls](http://www.aliyun.com/product/sls)).

API Reference: [中文](https://help.aliyun.com/document_detail/29007.html) [ENGLISH](https://www.alibabacloud.com/help/doc-detail/29007.htm)

### Summary

[](#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
-----------------------

[](#environment-requirement)

1. PHP 7.1.7 and later：Master Branch
2. PHP 7.0+：[sj-distributor/aliyun-log-php-sdk-php70](https://github.com/sj-distributor/aliyun-log-php-sdk-php70)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance45

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

430d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e1fff1f138539a254897a8ccd84e2882d84237884486b00db0c63ec97523252?d=identicon)[tony.w](/maintainers/tony.w)

---

Top Contributors

[![TonyWong9527](https://avatars.githubusercontent.com/u/33448724?v=4)](https://github.com/TonyWong9527 "TonyWong9527 (7 commits)")[![suntingtao007](https://avatars.githubusercontent.com/u/24544188?v=4)](https://github.com/suntingtao007 "suntingtao007 (6 commits)")[![crimson-gao](https://avatars.githubusercontent.com/u/39024757?v=4)](https://github.com/crimson-gao "crimson-gao (6 commits)")[![mayunlei](https://avatars.githubusercontent.com/u/11693020?v=4)](https://github.com/mayunlei "mayunlei (5 commits)")[![qiansheng91](https://avatars.githubusercontent.com/u/81615037?v=4)](https://github.com/qiansheng91 "qiansheng91 (4 commits)")[![wind1719](https://avatars.githubusercontent.com/u/5468452?v=4)](https://github.com/wind1719 "wind1719 (4 commits)")[![Fnck](https://avatars.githubusercontent.com/u/5467617?v=4)](https://github.com/Fnck "Fnck (2 commits)")[![ZRZ2233](https://avatars.githubusercontent.com/u/67986349?v=4)](https://github.com/ZRZ2233 "ZRZ2233 (1 commits)")[![sandbeach](https://avatars.githubusercontent.com/u/2006325?v=4)](https://github.com/sandbeach "sandbeach (1 commits)")

---

Tags

sdkSLSalibaba

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sj-distributor-aliyun-log-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/sj-distributor-aliyun-log-php-sdk/health.svg)](https://phpackages.com/packages/sj-distributor-aliyun-log-php-sdk)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
