PHPackages                             alibabacloud/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. alibabacloud/aliyun-log-php-sdk

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

alibabacloud/aliyun-log-php-sdk
===============================

The Php SDK of Alibaba log service

0.7.0(1mo ago)1201.0k—6%4[2 PRs](https://github.com/alibabacloud-sdk-php/aliyun-log-php-sdk/pulls)9MITPHPPHP &gt;=7.1.7

Since Sep 28Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/alibabacloud-sdk-php/aliyun-log-php-sdk)[ Packagist](https://packagist.org/packages/alibabacloud/aliyun-log-php-sdk)[ RSS](/packages/alibabacloud-aliyun-log-php-sdk/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (7)Dependencies (2)Versions (7)Used By (9)

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

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

API VERSION
-----------

[](#api-version)

0.6.4

SDK RELEASE TIME
----------------

[](#sdk-release-time)

2024-05-28

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 5.2+：[Tree v1.0](https://github.com/aliyun/aliyun-log-php-sdk/tree/v1.0)

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance92

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor4

4 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

Every ~349 days

Recently: every ~191 days

Total

6

Last Release

39d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a77203cfcce375539bbb06cb809a0bbc8683c6e2e28df6c0fdcbfd088483a26?d=identicon)[alibabacloud](/maintainers/alibabacloud)

---

Top Contributors

[![crimson-gao](https://avatars.githubusercontent.com/u/39024757?v=4)](https://github.com/crimson-gao "crimson-gao (6 commits)")[![suntingtao007](https://avatars.githubusercontent.com/u/24544188?v=4)](https://github.com/suntingtao007 "suntingtao007 (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)")[![sls-dev-agent](https://avatars.githubusercontent.com/u/286055618?v=4)](https://github.com/sls-dev-agent "sls-dev-agent (4 commits)")[![MaoMao0350](https://avatars.githubusercontent.com/u/5467617?v=4)](https://github.com/MaoMao0350 "MaoMao0350 (2 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/alibabacloud-aliyun-log-php-sdk/health.svg)

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

PHPackages © 2026

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