PHPackages                             matchingood/sqs-logger - 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. matchingood/sqs-logger

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

matchingood/sqs-logger
======================

send logging data to AWS SQS, working on Laravel.

v0.1(9y ago)34.1kPHP

Since Sep 7Pushed 8y ago12 watchersCompare

[ Source](https://github.com/matchingood/SQSLogger)[ Packagist](https://packagist.org/packages/matchingood/sqs-logger)[ RSS](/packages/matchingood-sqs-logger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

SQSLogger
=========

[](#sqslogger)

Loggin library for Laravel application with AWS SQS

Install
-------

[](#install)

In your composer.json,

```
"matchingood/sqs-logger": "^0.1"

```

Then you register SQSLogger at `config/app.php`.

```
'providers' => [
    .
    .
    .
    Matchingood\SQSLogger\SQSLoggerServiceProvider::class
],
.
.
.
'aliases' => [
    .
    .
    .
    'SQSLogger' => Matchingood\SQSLogger\Facades\SQSLogger::class
],
```

You can create the configuration file to execute

```
$ php artisan vendor:publish

```

Then you can configure `app/sqslogger.php`

```
return [
    'env' => "if not 'prod', this library use Laravel Log class",

    'aws' => [
        'access_key' => "AWS access key",
        'access_secret' => "AWS access secret",
        'sqs' => [
            'version' => "API version",
            'region' => "AWS region",
            'queue_name' => "SQS queue name"
        ]
    ]
];

```

Usage
-----

[](#usage)

```
SQSLogger::info("info");
SQSLogger::error("error");
SQSLogger::critical("critical");

// Illuminate\Http\Request
SQSLogger::access($request);
```

You can add more information like this.

```
SQSLogger::info('info', ['hello' => 'world']);
```

SQS
---

[](#sqs)

SQSLogger sends json data to SQS in the production environment.

```
{
    "level": "INFO",
    "time": "2016-09-07 17:30:00",
    "userId": 1,
    "message": "Hello World!"
}
```

The `userId` property will be -1 when `Auth::check()` returns false.

Only `ACCESS` level sends diferent json data, using `Illuminate\Http\Request` as a parameter.

```
{
    "level": "INFO",
    "time": "2016-09-07 17:30:00",
    "userId": 1,
    "method": "POST",
    "accessUrl": "https://github.com/matchingood"
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.4% 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

Unknown

Total

1

Last Release

3541d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0479ac7fe271c19abe3bcaee704544e6457a7cacff63f377e6706628c37d1183?d=identicon)[kota-inamori](/maintainers/kota-inamori)

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

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

---

Top Contributors

[![kota-inamori](https://avatars.githubusercontent.com/u/14211300?v=4)](https://github.com/kota-inamori "kota-inamori (19 commits)")[![takuseno](https://avatars.githubusercontent.com/u/5235131?v=4)](https://github.com/takuseno "takuseno (6 commits)")[![cosuke2000](https://avatars.githubusercontent.com/u/2775185?v=4)](https://github.com/cosuke2000 "cosuke2000 (1 commits)")[![khouki](https://avatars.githubusercontent.com/u/2796586?v=4)](https://github.com/khouki "khouki (1 commits)")

---

Tags

awslaravelphp

### Embed Badge

![Health badge](/badges/matchingood-sqs-logger/health.svg)

```
[![Health](https://phpackages.com/badges/matchingood-sqs-logger/health.svg)](https://phpackages.com/packages/matchingood-sqs-logger)
```

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[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)

PHPackages © 2026

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