PHPackages                             aliyunpcs/sls - 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. aliyunpcs/sls

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

aliyunpcs/sls
=============

aliyun-log-php-sdk-1.0 (PSR-4)

1.0.2(1y ago)00MITPHPPHP &gt;=5.6

Since Apr 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pangxp/aliyuncs_sls)[ Packagist](https://packagist.org/packages/aliyunpcs/sls)[ RSS](/packages/aliyunpcs-sls/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

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

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

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

[](#api-version)

1.0.0

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

[](#sdk-release-time)

2015-11-16

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

[](#sdk-release-update-time)

2025-04-25

基于 PHP 5.2+：[Tree v1.0](https://github.com/aliyun/aliyun-log-php-sdk/tree/v1.0)改造后 支持PHP 5.2+ (composer.json 写的 "php":"&gt;=5.6")

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)).

### 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. SlsException will be thrown if any error happen

Environment Requirement
-----------------------

[](#environment-requirement)

1. PHP 5.2.1 and later

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance49

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

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

Total

3

Last Release

378d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/392bbcbde06234bef0770af6b825c7acb35b766e5d6af774300acd71b69fbded?d=identicon)[pangxp](/maintainers/pangxp)

---

Top Contributors

[![pangxp](https://avatars.githubusercontent.com/u/12230565?v=4)](https://github.com/pangxp "pangxp (1 commits)")

### Embed Badge

![Health badge](/badges/aliyunpcs-sls/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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