PHPackages                             coreproc/laravel-custom-logging - 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. coreproc/laravel-custom-logging

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

coreproc/laravel-custom-logging
===============================

Custom logging for AWS cloudwatch containers

0.2.0(2y ago)014.8k↓12%MITPHP

Since Mar 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/CoreProc/laravel-custom-logging)[ Packagist](https://packagist.org/packages/coreproc/laravel-custom-logging)[ RSS](/packages/coreproc-laravel-custom-logging/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Laravel Custom Logging
======================

[](#laravel-custom-logging)

This package provides us with an additional `origin` variable for logs to determine the source of the log.

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

[](#installation)

You can install the package via composer:

```
composer require coreproc/laravel-custom-logging
```

Publish the config file:

```
php artisan vendor:publish --provider="Coreproc\LaravelCustomLogging\CustomLoggingServiceProvider"
```

Usage
-----

[](#usage)

Typically, we use this in the `stderr` channel. Here is an example of the configuration:

```
'channels' => [
    'stderr' => [
        'driver' => 'monolog',
        'level' => env('LOG_LEVEL', 'debug'),
        'handler' => StreamHandler::class,
        'formatter' => Monolog\Formatter\JsonFormatter::class,
        'formatter_with' => [
            'includeStacktraces' => true,
            'batchMode' => Monolog\Formatter\JsonFormatter::BATCH_MODE_JSON,
            'appendNewline' => true,
        ],
        'with' => [
            'stream' => 'php://stderr',
        ],
        'processors' => [\Coreproc\LaravelCustomLogging\AddOriginProcessor::class],
    ],
],
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

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

Total

2

Last Release

832d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7066371?v=4)[CoreProc](/maintainers/coreproc)[@CoreProc](https://github.com/CoreProc)

---

Top Contributors

[![chrisbjr](https://avatars.githubusercontent.com/u/571279?v=4)](https://github.com/chrisbjr "chrisbjr (2 commits)")

### Embed Badge

![Health badge](/badges/coreproc-laravel-custom-logging/health.svg)

```
[![Health](https://phpackages.com/badges/coreproc-laravel-custom-logging/health.svg)](https://phpackages.com/packages/coreproc-laravel-custom-logging)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M277](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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