PHPackages                             goodjun/laravel-aliyun-log - 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. goodjun/laravel-aliyun-log

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

goodjun/laravel-aliyun-log
==========================

Aliyun log for Laravel

1.0.2(3y ago)3218MITPHPPHP &gt;=5.5.9

Since Jun 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/goodjun/laravel-aliyun-log)[ Packagist](https://packagist.org/packages/goodjun/laravel-aliyun-log)[ RSS](/packages/goodjun-laravel-aliyun-log/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel Aliyun Log
==================

[](#laravel-aliyun-log)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4e81444dd78d6270c7afbbe39178ffe65df613c57308e4bc999b9d19507e9364/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f6f646a756e2f6c61726176656c2d616c6979756e2d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/goodjun/laravel-aliyun-log)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/7248a7e74d8dc4a77bce3e9bd80475bfc367e35f29f71a4fcba4186f37fd8c3c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676f6f646a756e2f6c61726176656c2d616c6979756e2d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/goodjun/laravel-aliyun-log)[![Github Actions](https://github.com/goodjun/laravel-aliyun-log/actions/workflows/run-tests.yml/badge.svg)](https://github.com/goodjun/laravel-aliyun-log/actions/workflows/run-tests.yml)

Installation
------------

[](#installation)

Require this package with composer.

```
composer require goodjun/laravel-aliyun-log
```

### Laravel without auto-discovery:

[](#laravel-without-auto-discovery)

If you don't use auto-discovery, add the ServiceProvider to the providers array in `config/app.php`

```
Goodjun\AliyunLog\AliyunLogProvider::class,
```

#### Copy the package config to your local config with the publish command:

[](#copy-the-package-config-to-your-local-config-with-the-publish-command)

```
php artisan vendor:publish  --provider="Goodjun\AliyunLog\AliyunLogProvider"
```

Configuration
-------------

[](#configuration)

Add your Aliyun Access Key, Key Secret, Endpoint, Project Name and Store Name to your `.env`:

```
ALIYUN_LOG_ACCESS_KEY_ID= # access key id
ALIYUN_LOG_ACCESS_KEY_SECRET= # access key secret
ALIYUN_LOG_ENDPOINT= # endpoint, reference https://help.aliyun.com/document_detail/29008.html
ALIYUN_LOG_PROJECT= # project name
ALIYUN_LOG_LOG_STORE= # store name
```

Usage
-----

[](#usage)

### Laravel &lt;= 5.5

[](#laravel--55)

Copy code in the `bootstrap/app.php`:

```
$app->configureMonologUsing(function (Monolog\Logger $monolog) {
    $handler = new Goodjun\AliyunLog\AliyunHandler();
    $monolog->pushHandler($handler);
});
```

### Laravel &gt;= 5.6

[](#laravel--56)

coming soon.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Total

3

Last Release

1261d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be897760624b68f07bc07e0697e865920ed9cffddfb1ab88a8c121603cec1520?d=identicon)[goodjun](/maintainers/goodjun)

---

Top Contributors

[![goodjun](https://avatars.githubusercontent.com/u/18377597?v=4)](https://github.com/goodjun "goodjun (34 commits)")

---

Tags

laravelloggerloglaravelloggeraliyunSLS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/goodjun-laravel-aliyun-log/health.svg)

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

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[lokielse/laravel-sls

Aliyun SLS Log For Laravel

223.7k](/packages/lokielse-laravel-sls)[yzen.dev/mono-processor

This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.

116.1k](/packages/yzendev-mono-processor)

PHPackages © 2026

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