PHPackages                             zhangyangchen/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. zhangyangchen/aliyun-log-php-sdk

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

zhangyangchen/aliyun-log-php-sdk
================================

Aliyun Log Service PHP SDK

0150PHP

Since Mar 17Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

Install
-------

[](#install)

Via Composer

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor2

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/307b02b69ebae9a79c6873c9bbb887b1f9c49d92383e8c3882608fd749f72d22?d=identicon)[zhangyangchen](/maintainers/zhangyangchen)

---

Top Contributors

[![suntingtao007](https://avatars.githubusercontent.com/u/24544188?v=4)](https://github.com/suntingtao007 "suntingtao007 (7 commits)")[![wind1719](https://avatars.githubusercontent.com/u/5468452?v=4)](https://github.com/wind1719 "wind1719 (3 commits)")[![Fnck](https://avatars.githubusercontent.com/u/5467617?v=4)](https://github.com/Fnck "Fnck (2 commits)")[![mayunlei](https://avatars.githubusercontent.com/u/11693020?v=4)](https://github.com/mayunlei "mayunlei (2 commits)")[![sandbeach](https://avatars.githubusercontent.com/u/2006325?v=4)](https://github.com/sandbeach "sandbeach (1 commits)")[![zhangyangchen](https://avatars.githubusercontent.com/u/24501620?v=4)](https://github.com/zhangyangchen "zhangyangchen (1 commits)")

### Embed Badge

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

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

###  Alternatives

[jansenfelipe/utils

Uma simples classe utilitária com métodos que podem salvar sua vida (ou não)

62146.4k10](/packages/jansenfelipe-utils)[dereuromark/cakephp-geo

A CakePHP plugin around geocoding tools and helpers.

51174.9k4](/packages/dereuromark-cakephp-geo)[kambo/langchain

 ⚡ Building applications with LLMs through composability in PHP ⚡

3224.4k](/packages/kambo-langchain)[dive-be/php-enum-utils

Those utilities you always need when dealing with native enumerations.

31288.0k1](/packages/dive-be-php-enum-utils)[jasny/dotkey

Dot notation access for objects and arrays

14219.5k6](/packages/jasny-dotkey)[formfeed-uk/nova-theming-classes

A Laravel Nova package to add theming classes to components.

12100.4k](/packages/formfeed-uk-nova-theming-classes)

PHPackages © 2026

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