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

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

adevpmftc/laravel-custom-logging
================================

Custom logging for AWS cloudwatch containers

0.2.0(11mo ago)06MITPHP

Since Jun 12Pushed 11mo agoCompare

[ Source](https://github.com/AdevPmftc/laravel-custom-logging)[ Packagist](https://packagist.org/packages/adevpmftc/laravel-custom-logging)[ RSS](/packages/adevpmftc-laravel-custom-logging/feed)WikiDiscussions master Synced 1mo 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 adevpmftc/laravel-custom-logging
```

Publish the config file:

```
php artisan vendor:publish --provider="AdevPmftc\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' => [\AdevPmftc\LaravelCustomLogging\AddOriginProcessor::class],
    ],
],
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance52

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity27

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

334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/111575d28709d94013bbe091079787efe1c49c874d72d050f5d9ad002f377bb0?d=identicon)[AdevPmftc](/maintainers/AdevPmftc)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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