PHPackages                             chinayin/sls-sdk-php - 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. chinayin/sls-sdk-php

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

chinayin/sls-sdk-php
====================

Aliyun SLS SDK for PHP

v0.6.1(6y ago)010911MITPHPPHP &gt;=5.2

Since Mar 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chinayin/aliyun-sls-php-sdk)[ Packagist](https://packagist.org/packages/chinayin/sls-sdk-php)[ Docs](http://www.aliyun.com/product/sls/)[ RSS](/packages/chinayin-sls-sdk-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (4)DependenciesVersions (4)Used By (1)

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

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

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

[](#api-version)

0.6.1

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

[](#sdk-release-time)

2018-02-18

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

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~551 days

Total

3

Last Release

2282d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10531946?v=4)[Leo](/maintainers/chinayin)[@chinayin](https://github.com/chinayin)

---

Top Contributors

[![chinayin](https://avatars.githubusercontent.com/u/10531946?v=4)](https://github.com/chinayin "chinayin (5 commits)")

---

Tags

logaliyunSLS

### Embed Badge

![Health badge](/badges/chinayin-sls-sdk-php/health.svg)

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

###  Alternatives

[lokielse/laravel-sls

Aliyun SLS Log For Laravel

213.7k](/packages/lokielse-laravel-sls)

PHPackages © 2026

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