PHPackages                             avengers-code-lovers/laravel-log-monitoring - 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. avengers-code-lovers/laravel-log-monitoring

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

avengers-code-lovers/laravel-log-monitoring
===========================================

Laravel log monitoring with log Laravel and log queue from avengers code lovers

1.3.0(5y ago)96.1k↓10.7%4PHPPHP &gt;=7.1CI failing

Since Jun 16Pushed 5y agoCompare

[ Source](https://github.com/AvengersCodeLovers/laravel-log-monitoring)[ Packagist](https://packagist.org/packages/avengers-code-lovers/laravel-log-monitoring)[ RSS](/packages/avengers-code-lovers-laravel-log-monitoring/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (6)Versions (7)Used By (0)

Documentation
-------------

[](#documentation)

To get started with **Monitoring Log Laravel**, use Composer to add the package to your project's dependencies:

```
   composer require avengers-code-lovers/laravel-log-monitoring
```

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

[](#configuration)

### Laravel 5.5+

[](#laravel-55)

Laravel uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.

### Laravel &lt; 5.5:

[](#laravel--55)

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

```
'providers' => [
    // Other service providers...

    AvengersGroup\MonitoringServiceProvider::class

],
```

Set your session start to global middleware in app/Http/Kernel.php

```
protected $middleware => [
    // Other global middleware...

    \Illuminate\Session\Middleware\StartSession::class,
];

protected $middlewareGroups => [
    'web' => [
        \App\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        //\Illuminate\Session\Middleware\StartSession::class,       // Comment this
        // ...
    ],
];
```

You will also need to add api\_key chatwork bot and room sos for services your application utilizes. These credentials should be placed in your `config/services.php` configuration file, and use the key `chatwork`. For example:

```
    'chatwork' => [
        'api_key' => env('CHATWORK_API_KEY'),
        'room_id_sos' => env('CHATWORK_API_ROOM_ID'),
        'role' => [
            'admin' => 'admin'
        ]
    ]
```

Add key in .env

```
CHATWORK_API_KEY=xxxxx
CHATWORK_API_ROOM_ID=xxxxx

```

### Basic Usage Monitoring Log Laravel Application Error

[](#basic-usage-monitoring-log-laravel-application-error)

Add Monitoring Log Laravel reporting to App/Exceptions/Handler.php:

```
public function report(Exception $exception)
{
    app('monitoring')->sendExceptionToChatWork($exception);

    parent::report($exception);
}
```

### Basic Usage Monitoring Log Queue Error

[](#basic-usage-monitoring-log-queue-error)

Follow document in

```
/**
 * The job failed to process.
 *
 * @param  Exception  $exception
 * @return void
 */
public function failed(Exception $exception)
{
    app('monitoring')->sendExceptionToChatWork($exception);
}
```

### Advance Usage

[](#advance-usage)

Monitoring Log Laravel support reporting accept `$request` as param with supportable functions which come with a message with more infomation

Add Monitoring Log Laravel reporting to App/Exceptions/Handler.php:

```
/**
 * Render an exception into an HTTP response.
 *
 * @param  \Illuminate\Http\Request  $request
 * @param  \Exception  $exception
 * @return \Illuminate\Http\Response
 */
public function render($request, Exception $exception)
{
    app('monitoring')->sendExceptionToChatWork($exception, $request);

    return parent::render($request, $exception);
}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.3% 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 ~127 days

Total

4

Last Release

1828d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56f90974ae424f8347054029e50e62e2d2542a75db656a785e80d6191356f371?d=identicon)[kenini1805](/maintainers/kenini1805)

---

Top Contributors

[![Kenini1805](https://avatars.githubusercontent.com/u/29978555?v=4)](https://github.com/Kenini1805 "Kenini1805 (8 commits)")[![sunh-2087](https://avatars.githubusercontent.com/u/49262716?v=4)](https://github.com/sunh-2087 "sunh-2087 (5 commits)")[![thangcx-3383](https://avatars.githubusercontent.com/u/49381862?v=4)](https://github.com/thangcx-3383 "thangcx-3383 (2 commits)")

---

Tags

laravelmonitoringqueuechatwork

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/avengers-code-lovers-laravel-log-monitoring/health.svg)

```
[![Health](https://phpackages.com/badges/avengers-code-lovers-laravel-log-monitoring/health.svg)](https://phpackages.com/packages/avengers-code-lovers-laravel-log-monitoring)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)

PHPackages © 2026

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